On Wednesday, 18 November 2015 18:46:07 UTC, tamouse wrote:
> > This is for Rahoul, not the OP: > > Rails 4.1 introduced the #config_for method on the Rails application, > which makes all the reading, erbing, and yamling of config files really > super simple. You can change your above initializer to: > Thanks Tamara - I must have completely missed that. It looks awesome. I guess the OP would still need to do the ERB stuff by hand to get custom functions in there though. Cheers Rahoul http://theartandscienceofruby.com/ > > -- > Tamara Temple > [email protected] <javascript:> > http://www.tamouse.org > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dfe56ae6-24ce-4a6c-9591-68f4a2040035%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

