Epoch Wolf
Epoch Wolf
As of Dec 17, 2011 the docs say: > Devise::TestHelpers provides a facility to test controllers in isolation when using ActionController::TestCase allowing you to quickly sign_in or sign_out a user....
I am also having issues with this. I have a model named Series and I get a similar error message.
Same issue, same config as guilleiguaran
This was reported before with rails 3.1 and mysql. https://github.com/gregbell/active_admin/issues/103 (See the comments) So I believe this is expected behavior.
This was closed earlier without any resolution. https://github.com/gregbell/active_admin/issues/89
+1 Note: In case it's not clear, the OP is asking for the ability to use current_admin_user in the `form` blocks. (Been helping him out on irc) I'm currently using...
Is it really so hard to write `association.scoped.map(&:id)`?
Okay, I didn't know about `pluck` before. http://api.rubyonrails.org/classes/ActiveRecord/Calculations.html#method-i-pluck I don't see why we need `ids` when you can do `pluck(:field)` on any relation already.