On Jul 7, 3:52 pm, Joe <loret...@gmail.com> wrote:
> Thanks for the suggestion, Fred. That makes sense, and I would solve > the problem in this case. > > Long term, I'm thinking of moving the framework out of the project and > into a gem. At that point, of course, it would be unrealistic to > include the require_dependency lines. Is there some other place you > can think of that I might put the code so that it's called with each > request, but not a part of the gem itself? > If you set config.to_prepare to a block then it's called before each request (in development mode). Also code from gems isn't reloaded between requests Fred > Thanks, > Joe -- 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.