Hey guys. I'm writing an "acts_as_X" plugin that's used by
controllers. Unfortunately, the plugin isn't being reloaded for each
request [in the dev env].

I thought that adding
    config.reload_plugins = true if RAILS_ENV == 'development'
to environment.rb , as well as
    require 'acts_as_X'
to my plugin's init.rb would do the trick, but it doesn't.

Is there a way to configure Rails to reload the plugin for each request?

Here's the code:
http://gist.github.com/361804

Thanks!
Nick

-- 
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.

Reply via email to