Rails4


Rails 4 Custom Configurations

Update: June 29, 2015: Added a clarifying example for MyApp name and a template on how the custom configuration would look like.
Was working on a Rails 4 side project when I realized that I should make a configuration file for a constant that I wanted. I knew there was a way to do configuration in Rails, but wasn't sure what best practices were so I looked it up. It turns out that as of Rails 4.2 there is now a configuration x namespace for you to provide your own custom configurations!

Continue reading →
Older
Newer
Page 1 of 1

Font Awesome by Dave Gandy