{"action":"created","issue":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/396","labels_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/396/comments","events_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/396/events","html_url":"https://github.com/cerebris/jsonapi-resources/pull/396","id":102731676,"number":396,"title":"underscore JSONAPI::Resource#module_path when deriving from name","user":{"login":"camhine","id":3335091,"avatar_url":"https://avatars.githubusercontent.com/u/3335091?v=3","gravatar_id":"","url":"https://api.github.com/users/camhine","html_url":"https://github.com/camhine","followers_url":"https://api.github.com/users/camhine/followers","following_url":"https://api.github.com/users/camhine/following{/other_user}","gists_url":"https://api.github.com/users/camhine/gists{/gist_id}","starred_url":"https://api.github.com/users/camhine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camhine/subscriptions","organizations_url":"https://api.github.com/users/camhine/orgs","repos_url":"https://api.github.com/users/camhine/repos","events_url":"https://api.github.com/users/camhine/events{/privacy}","received_events_url":"https://api.github.com/users/camhine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T07:58:44Z","updated_at":"2015-08-24T23:10:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/396","html_url":"https://github.com/cerebris/jsonapi-resources/pull/396","diff_url":"https://github.com/cerebris/jsonapi-resources/pull/396.diff","patch_url":"https://github.com/cerebris/jsonapi-resources/pull/396.patch"},"body":"Using downcase does not have the intended effect. For example, a \r\nresource with name 'MyModuleNameSpace::NamespacedResource' previously \r\nhad a module_path of 'mymodulenamespace'. Using underscore the \r\nmodule_path for 'MyModuleNameSpace::NamespacedResource' is \r\n'my_module_name_space'."},"comment":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/comments/134407852","html_url":"https://github.com/cerebris/jsonapi-resources/pull/396#issuecomment-134407852","issue_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/396","id":134407852,"user":{"login":"camhine","id":3335091,"avatar_url":"https://avatars.githubusercontent.com/u/3335091?v=3","gravatar_id":"","url":"https://api.github.com/users/camhine","html_url":"https://github.com/camhine","followers_url":"https://api.github.com/users/camhine/followers","following_url":"https://api.github.com/users/camhine/following{/other_user}","gists_url":"https://api.github.com/users/camhine/gists{/gist_id}","starred_url":"https://api.github.com/users/camhine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camhine/subscriptions","organizations_url":"https://api.github.com/users/camhine/orgs","repos_url":"https://api.github.com/users/camhine/repos","events_url":"https://api.github.com/users/camhine/events{/privacy}","received_events_url":"https://api.github.com/users/camhine/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T23:10:34Z","updated_at":"2015-08-24T23:10:34Z","body":"I've added a test that fails without this change. I haven't used ActiveSupport::TestCase before so please let me know if I haven't done it right."}}