{"action":"created","issue":{"url":"https://api.github.com/repos/mateomurphy/rails_locale_detection/issues/10","labels_url":"https://api.github.com/repos/mateomurphy/rails_locale_detection/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mateomurphy/rails_locale_detection/issues/10/comments","events_url":"https://api.github.com/repos/mateomurphy/rails_locale_detection/issues/10/events","html_url":"https://github.com/mateomurphy/rails_locale_detection/issues/10","id":110752237,"number":10,"title":" uninitialized constant RailsLocaleDetection (NameError)","user":{"login":"Rovel","id":2469500,"avatar_url":"https://avatars.githubusercontent.com/u/2469500?v=3","gravatar_id":"","url":"https://api.github.com/users/Rovel","html_url":"https://github.com/Rovel","followers_url":"https://api.github.com/users/Rovel/followers","following_url":"https://api.github.com/users/Rovel/following{/other_user}","gists_url":"https://api.github.com/users/Rovel/gists{/gist_id}","starred_url":"https://api.github.com/users/Rovel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rovel/subscriptions","organizations_url":"https://api.github.com/users/Rovel/orgs","repos_url":"https://api.github.com/users/Rovel/repos","events_url":"https://api.github.com/users/Rovel/events{/privacy}","received_events_url":"https://api.github.com/users/Rovel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-09T23:32:21Z","updated_at":"2015-10-14T02:13:47Z","closed_at":"2015-10-14T02:13:47Z","body":"I added a initializer as the README.md intructs but I get the following error:\r\n\r\n.../config/initializers/rails_locale_detection.rb:1:in `<top (required)>': uninitialized constant RailsLocaleDetection (NameError)\r\n\tfrom ../.rvm/gems/ruby-2.2.3/gems/railties-4.1.13/lib/rails/engine.rb:648:in `block in load_config_initializer'\r\n\r\n#config/initializers/rails_locale_detection.rb\r\n\r\nRailsLocaleDetection.config do |config|\r\n  config.locale_expiry = 3.months\r\n  config.set_default_url_option = :always # valid values are true, false, :always, :never and :explicity\r\n  config.detection_order = [:param, :user, :request]\r\n  config.automatically_detect = true\r\n  config.locale_key = :locale\r\nend"},"comment":{"url":"https://api.github.com/repos/mateomurphy/rails_locale_detection/issues/comments/147904478","html_url":"https://github.com/mateomurphy/rails_locale_detection/issues/10#issuecomment-147904478","issue_url":"https://api.github.com/repos/mateomurphy/rails_locale_detection/issues/10","id":147904478,"user":{"login":"Rovel","id":2469500,"avatar_url":"https://avatars.githubusercontent.com/u/2469500?v=3","gravatar_id":"","url":"https://api.github.com/users/Rovel","html_url":"https://github.com/Rovel","followers_url":"https://api.github.com/users/Rovel/followers","following_url":"https://api.github.com/users/Rovel/following{/other_user}","gists_url":"https://api.github.com/users/Rovel/gists{/gist_id}","starred_url":"https://api.github.com/users/Rovel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rovel/subscriptions","organizations_url":"https://api.github.com/users/Rovel/orgs","repos_url":"https://api.github.com/users/Rovel/repos","events_url":"https://api.github.com/users/Rovel/events{/privacy}","received_events_url":"https://api.github.com/users/Rovel/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T02:13:47Z","updated_at":"2015-10-14T02:13:47Z","body":"working fine, thanks for the help!"}}