The not using Rails.env.development? call is certainly a good idea, I usually use a config yaml file, rather than the config/environment things (that way I can configure it in production with capistrano or chef, depending on need).
On Thu, Nov 15, 2012 at 8:04 AM, jamesl <[email protected]> wrote: > Did this sort of thing yesterday, adding to config/initializers to setup > the default provider and then in > config/environments overriding as necessary. > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rails-oceania/-/xwx705wwVw0J. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
