On Apr 10, 11:38 am, Nick <n...@deadorange.com> wrote: > Is there a way to configure Rails to reload the plugin for each request? > > Here's the code:http://gist.github.com/361804
The answer's dead easy. Those child modules and classes need to split out into separate files. So ActsAsDashboard::Config must be in lib/ acts_as_dashboard/config.rb , ActsAsDashboard::ClassMethods must be in lib/acts_as_dashboard/class_methods.rb , etc. Once I did that, everything in the plugin was reloaded. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.