On Sun, Apr 14, 2013 at 5:26 PM, Wins Lin <[email protected]> wrote: > How to set some variables on bootstap? I need a few variables to be > initialized with default values every request. For example in ZF there > is a class Bootstrap whose methods are called automatically every > request. Is there something similar in Rails?
Do these need to be initialized before configuration? If not, you can put them in config/initializers/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

