{"action":"created","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1329","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1329/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1329/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1329/events","html_url":"https://github.com/rails-api/active_model_serializers/pull/1329","id":116480352,"number":1329,"title":"Update Document/Readme for ‘attribute’ method in version 0.9.x","user":{"login":"anduong","id":6139560,"avatar_url":"https://avatars.githubusercontent.com/u/6139560?v=3","gravatar_id":"","url":"https://api.github.com/users/anduong","html_url":"https://github.com/anduong","followers_url":"https://api.github.com/users/anduong/followers","following_url":"https://api.github.com/users/anduong/following{/other_user}","gists_url":"https://api.github.com/users/anduong/gists{/gist_id}","starred_url":"https://api.github.com/users/anduong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anduong/subscriptions","organizations_url":"https://api.github.com/users/anduong/orgs","repos_url":"https://api.github.com/users/anduong/repos","events_url":"https://api.github.com/users/anduong/events{/privacy}","received_events_url":"https://api.github.com/users/anduong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails-api/active_model_serializers/labels/Documentation","name":"Documentation","color":"fbca04"},{"url":"https://api.github.com/repos/rails-api/active_model_serializers/labels/V:%200.9.x","name":"V: 0.9.x","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-12T05:03:01Z","updated_at":"2015-11-26T03:51:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/pulls/1329","html_url":"https://github.com/rails-api/active_model_serializers/pull/1329","diff_url":"https://github.com/rails-api/active_model_serializers/pull/1329.diff","patch_url":"https://github.com/rails-api/active_model_serializers/pull/1329.patch"},"body":"- Because method `attribute` is deprecated in version 0.9.x and the current Readme is abandoning whoever using version 0.9.x.\r\n- This will help people save time to seek for solutions when they encounter `undefined method ‘attribute’ for ActiveModel::Serializer class` error."},"comment":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/comments/159796803","html_url":"https://github.com/rails-api/active_model_serializers/pull/1329#issuecomment-159796803","issue_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1329","id":159796803,"user":{"login":"anduong","id":6139560,"avatar_url":"https://avatars.githubusercontent.com/u/6139560?v=3","gravatar_id":"","url":"https://api.github.com/users/anduong","html_url":"https://github.com/anduong","followers_url":"https://api.github.com/users/anduong/followers","following_url":"https://api.github.com/users/anduong/following{/other_user}","gists_url":"https://api.github.com/users/anduong/gists{/gist_id}","starred_url":"https://api.github.com/users/anduong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anduong/subscriptions","organizations_url":"https://api.github.com/users/anduong/orgs","repos_url":"https://api.github.com/users/anduong/repos","events_url":"https://api.github.com/users/anduong/events{/privacy}","received_events_url":"https://api.github.com/users/anduong/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T03:51:46Z","updated_at":"2015-11-26T03:51:46Z","body":"@joaomdmoura Agree! I have added related README for older versions right on the top of the current README.\r\nFuthermore, I think it will be great if we can keep this ***byebugger*** (If you are encountering `undefined method ‘attribute’ for ActiveModel::Serializer class` error, you might be using version `0.9.x`) to save people time of seeking around or digging into the gem code. \r\nI had to dig into the gem code to investigate why this error happened and figured out the solution but it was already mentioned in the older README version. I wish I had known the document before digging into the code. \r\nPlease help me check. Thanks.\r\n\r\n"}}