{"action":"created","issue":{"url":"https://api.github.com/repos/ucla/casa-on-rails/issues/73","labels_url":"https://api.github.com/repos/ucla/casa-on-rails/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/ucla/casa-on-rails/issues/73/comments","events_url":"https://api.github.com/repos/ucla/casa-on-rails/issues/73/events","html_url":"https://github.com/ucla/casa-on-rails/issues/73","id":109378244,"number":73,"title":"abstract casa config info to `config/casa.yml`","user":{"login":"stevenolen","id":808870,"avatar_url":"https://avatars.githubusercontent.com/u/808870?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenolen","html_url":"https://github.com/stevenolen","followers_url":"https://api.github.com/users/stevenolen/followers","following_url":"https://api.github.com/users/stevenolen/following{/other_user}","gists_url":"https://api.github.com/users/stevenolen/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenolen/subscriptions","organizations_url":"https://api.github.com/users/stevenolen/orgs","repos_url":"https://api.github.com/users/stevenolen/repos","events_url":"https://api.github.com/users/stevenolen/events{/privacy}","received_events_url":"https://api.github.com/users/stevenolen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T20:36:38Z","updated_at":"2015-10-13T16:07:29Z","closed_at":null,"body":"Similarly to how it's handled in #71. This would help to ensure that we don't need to replicate the `production.rb` config elements in chef in order to properly deploy casa config items."},"comment":{"url":"https://api.github.com/repos/ucla/casa-on-rails/issues/comments/147761515","html_url":"https://github.com/ucla/casa-on-rails/issues/73#issuecomment-147761515","issue_url":"https://api.github.com/repos/ucla/casa-on-rails/issues/73","id":147761515,"user":{"login":"stevenolen","id":808870,"avatar_url":"https://avatars.githubusercontent.com/u/808870?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenolen","html_url":"https://github.com/stevenolen","followers_url":"https://api.github.com/users/stevenolen/followers","following_url":"https://api.github.com/users/stevenolen/following{/other_user}","gists_url":"https://api.github.com/users/stevenolen/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenolen/subscriptions","organizations_url":"https://api.github.com/users/stevenolen/orgs","repos_url":"https://api.github.com/users/stevenolen/repos","events_url":"https://api.github.com/users/stevenolen/events{/privacy}","received_events_url":"https://api.github.com/users/stevenolen/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T16:07:29Z","updated_at":"2015-10-13T16:07:29Z","body":"Shouldn't this block: https://github.com/ucla/casa-on-rails/blob/master/config/initializers/casa.rb#L10-L13\r\n\r\ninstead be:\r\n\r\n```ruby\r\nif File.exists?('config/casa.yml')\r\n  config.merge!(YAML.load_file('config/casa.yml').deep_symbolize_keys)\r\nend\r\n```\r\n\r\nSince I'm getting this error when trying to use:\r\n\r\n```\r\n/Users/steve/.rvm/gems/ruby-2.1.1/gems/railties-4.1.4/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `merge!' for #<Rails::Application::Configuration:0x000001059647f8> (NoMethodError)\r\n\tfrom /Users/steve/git/casa-on-rails/config/initializers/casa.rb:12:in `<top (required)>'\r\n```"}}