{"action":"created","issue":{"url":"https://api.github.com/repos/BadrIT/translation_center/issues/72","labels_url":"https://api.github.com/repos/BadrIT/translation_center/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/BadrIT/translation_center/issues/72/comments","events_url":"https://api.github.com/repos/BadrIT/translation_center/issues/72/events","html_url":"https://github.com/BadrIT/translation_center/issues/72","id":111597699,"number":72,"title":" undefined method `prepare_key'","user":{"login":"LaurensN","id":419920,"avatar_url":"https://avatars.githubusercontent.com/u/419920?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurensN","html_url":"https://github.com/LaurensN","followers_url":"https://api.github.com/users/LaurensN/followers","following_url":"https://api.github.com/users/LaurensN/following{/other_user}","gists_url":"https://api.github.com/users/LaurensN/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurensN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurensN/subscriptions","organizations_url":"https://api.github.com/users/LaurensN/orgs","repos_url":"https://api.github.com/users/LaurensN/repos","events_url":"https://api.github.com/users/LaurensN/events{/privacy}","received_events_url":"https://api.github.com/users/LaurensN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T11:27:50Z","updated_at":"2015-10-16T08:59:06Z","closed_at":null,"body":"After bundle install, migrations, when starting server or console I get the following error:\r\n\r\n/translation_helpers.rb:60:in `translate_with_adding': undefined method `prepare_key' for #<I18n::Backend::Simple:0x007f8ba7554d50> (NoMethodError)\r\n\r\nRails 4.2.4\r\n\r\nThis happens with the following translation_center.yml settings:\r\n\r\ndevelopment:\r\n  enabled: true # default false\r\n\r\n  # Keys inspector allowed values:\r\n  # \"missing\" to inspect only untranslated keys\r\n  # \"all\" to enable inspector for translated and untranslated keys\r\n  # \"off\" to turn off keys inspector\r\n  inspector: 'all' # default missing\r\n\r\n  # I18n.translate source\r\n  i18n_source: 'yaml' # can be db or yaml; default is db\r\n\r\n  # when a new key is added to db, the value of the key is added as the default translation in English\r\n  save_default_translation: false\r\n\r\n  <<: *common_atts"},"comment":{"url":"https://api.github.com/repos/BadrIT/translation_center/issues/comments/148659234","html_url":"https://github.com/BadrIT/translation_center/issues/72#issuecomment-148659234","issue_url":"https://api.github.com/repos/BadrIT/translation_center/issues/72","id":148659234,"user":{"login":"LaurensN","id":419920,"avatar_url":"https://avatars.githubusercontent.com/u/419920?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurensN","html_url":"https://github.com/LaurensN","followers_url":"https://api.github.com/users/LaurensN/followers","following_url":"https://api.github.com/users/LaurensN/following{/other_user}","gists_url":"https://api.github.com/users/LaurensN/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurensN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurensN/subscriptions","organizations_url":"https://api.github.com/users/LaurensN/orgs","repos_url":"https://api.github.com/users/LaurensN/repos","events_url":"https://api.github.com/users/LaurensN/events{/privacy}","received_events_url":"https://api.github.com/users/LaurensN/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T08:59:05Z","updated_at":"2015-10-16T08:59:05Z","body":"This can be fixed by including it in I18n::Backend::Simple:\r\n\r\nhttps://github.com/BadrIT/translation_center/compare/master...LaurensN:master"}}