{"action":"closed","issue":{"url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/105","repository_url":"https://api.github.com/repos/huacnlee/rails-settings-cached","labels_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/105/comments","events_url":"https://api.github.com/repos/huacnlee/rails-settings-cached/issues/105/events","html_url":"https://github.com/huacnlee/rails-settings-cached/issues/105","id":155007951,"number":105,"title":"I18n keys translations","user":{"login":"romaslmd","id":11822129,"avatar_url":"https://avatars.githubusercontent.com/u/11822129?v=3","gravatar_id":"","url":"https://api.github.com/users/romaslmd","html_url":"https://github.com/romaslmd","followers_url":"https://api.github.com/users/romaslmd/followers","following_url":"https://api.github.com/users/romaslmd/following{/other_user}","gists_url":"https://api.github.com/users/romaslmd/gists{/gist_id}","starred_url":"https://api.github.com/users/romaslmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romaslmd/subscriptions","organizations_url":"https://api.github.com/users/romaslmd/orgs","repos_url":"https://api.github.com/users/romaslmd/repos","events_url":"https://api.github.com/users/romaslmd/events{/privacy}","received_events_url":"https://api.github.com/users/romaslmd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-16T11:06:19Z","updated_at":"2016-05-17T04:54:34Z","closed_at":"2016-05-17T04:54:34Z","body":"Got an issue with translations when using keys with dots (e.g.: 'setting_key.en')\r\nCode: `Setting.human_attribute_name('setting_key.en')`\r\n\r\nIs there any workaround or maybe is possible to do something like:\r\n```\r\n...\r\ndef self.human_attribute_name(attribute, options = {})\r\n  super(attribute.to_s.underscore.tr('.', '_'), options)\r\nend\r\n...\r\n```\r\n"}}