-
Notifications
You must be signed in to change notification settings - Fork 136
required)>': undefined method `xlsx' for #<ActiveAdmin::ResourceDSL:0x007fca01d1fdd0> (NoMethodError) #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'll have a look. Thank you for reporting this. |
I fixed it by changing after_initialize to before_initialize |
@Fivell Thanks, it works! What made in detail: change https://github.com/randym/activeadmin-axlsx/blob/master/lib/active_admin/axlsx.rb#L9 from after_initialize to before_initialize as recomend by @Fivell and all work now. |
Well done @Fivell ! |
Below version seems to work really well with the "xlsx do...end" - DSL (I just cant get params) I have tried many other versions of activeadmin-axlsx together with different versions of activeadmin the dsl seems to break for me after this commit 06b16f8 |
Hi!
Thanks for usefull gem and your work.
I have some strange problem with gem. I install it, it work. I customize xlsx for own needs and it work without problem when application run in devel mode. But if stop application and try to start it: i get such error:
Any idea how fix it?
rails (3.2.12), activeadmin (0.5.1), activeadmin-axlsx (2.0.0)
The text was updated successfully, but these errors were encountered: