Skip to content

Instantly share code, notes, and snippets.

@wangjohn
Last active December 14, 2015 23:19
Show Gist options
  • Save wangjohn/5165009 to your computer and use it in GitHub Desktop.
Save wangjohn/5165009 to your computer and use it in GitHub Desktop.
Backwards Compatibility with the new Rails configuration
# Should we allow this?
class Application < Rails::Application
config.timezone = 'New York'
end
Application.new do
config.something = 'Something else'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment