Ask A Question

Notifications

You’re not receiving notifications from this thread.

Using ActiveAdmin to Build an Admin UI Discussion

Jacob Giberson Jacob Giberson

Hey Chris, At min 8 sec 49, i am trying to follow along. My screen looks like http://imgur.com/9bnEuG0 and yours has the user dropdown. I am not sure what I must have missed. Do you know what it is? I will be trying to figure it out here, and will update you if I find it, thanks, and later I am not seeming to get the association of the user :
ID1
TITLEpost 1
BODYthis is my post
PUBLISHED ATDecember 28, 2016 23:43
USEREMPTY
CREATED ATDecember 28, 2016 23:43
UPDATED ATDecember 28, 2016 23:43

Reply

Did you add the user_id column to your Post model?

Reply

Hey @excid3:disqus, thanks for the vid. How would you rate Active Admin vs Administrate which you covered in Episode 94? I'm looking for something lightweight for one of my bigger apps.

By the way for those reading this. There's been a vulnerability issue reported for the Rails_admin and Administrate gems for part versions. So be sure to update them if you're using those.

See:
https://blog.sourceclear.co...

Reply

I prefer Administrate personally because it's more or less just regular controllers namespaced to the admin area. No special DSLs or anything, so you can customize it just like you would write your normal app.

Also yeah, noticed those security updates recently as well. 👍

Reply

Hey @disqus_RYFYDXZ9Pd:disqus where is the security vulnerability for Administrate? Not seeing a new version since Oct 28, at 0.3.0. Am I missing something?

Reply

You should use "RailsAdmin" or "ActiveAdmin" .. what is the most practical?

Greeting

Reply
Reply

I didn't get how do you fix the

Path for JQuery UI Datepicker is wrong

Reply

In your Gemfile change the line that loads the gem to:

gem 'activeadmin', git: 'https://github.com/activeadmin/activeadmin.git'

Reply

Where is the GitHub source code for this episode?

Reply

Some of these early episodes don't have the source code uploaded unfortunately. I was terrible at saving the code early on!

Reply
Ahmed Zaman Ahmed Zaman

@excid3:disqus I am facing the same problem as @jacobgiberson:disqus and I have added the belongs_to, but still it doesn't show the user and if I post something user field shows empty

Reply

I know this is really old but was wondering if anyone had resolved the issues of ActiveAdmin interfering with jquery etc.

I have created an app that works nicely with AA and came here and found the nice tutorial on how to add autocomplete to my app. Trouble is I get the easyComplete(options) is not a function problem.

I tried using the sample autcomplete app. As soon as I add activeadmin to it it breaks too.

Been a big time waster. Hate JS/Jquery for how brittle it is. All help welcome.

Reply

Yes!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.