activeadmin - error undefined method `group_values' in active_admin rails -
I try to apply active_admin to my app, and I am following this tutorial:
http://activeadmin.info/documentation.html But when I am executing this command in my console:
Generates Rail Activation: Resource Product produces the file successfully:
app / admin / product.rb < / Pre> But when I'm active in the Active_admin index I get this kind of error when using the page:
Undefined method 'group_iman' for ActionView :: Template :: error (# & lt; Array: 0xcfe093c & gt;) How to fix it? Your administrator / product.rb allows you to enter this code:
Thank you before:
ActiveAdmin.register Product, as: = & gt; "All Products"
end
Hope that help
Comments
Post a Comment