{"comment":{"url":"https://api.github.com/repos/Perkir/Learn_ror/comments/18889504","html_url":"https://github.com/Perkir/Learn_ror/commit/efb1b8bbec3b1eb8a1bd6ea33850ddd42ca4c220#commitcomment-18889504","id":18889504,"user":{"login":"vkurennov","id":968537,"avatar_url":"https://avatars.githubusercontent.com/u/968537?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurennov","html_url":"https://github.com/vkurennov","followers_url":"https://api.github.com/users/vkurennov/followers","following_url":"https://api.github.com/users/vkurennov/following{/other_user}","gists_url":"https://api.github.com/users/vkurennov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurennov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurennov/subscriptions","organizations_url":"https://api.github.com/users/vkurennov/orgs","repos_url":"https://api.github.com/users/vkurennov/repos","events_url":"https://api.github.com/users/vkurennov/events{/privacy}","received_events_url":"https://api.github.com/users/vkurennov/received_events","type":"User","site_admin":false},"position":8,"line":16,"path":"Lesson9/accessor.rb","commit_id":"efb1b8bbec3b1eb8a1bd6ea33850ddd42ca4c220","created_at":"2016-09-03T09:20:07Z","updated_at":"2016-09-03T09:20:07Z","body":"Т.е. в первый раз мы присвоим туда значение, это ок. Но вот как потом мы будем туда значения добавлять? Поясню. Допустим, у нас значение 1, атрибут называется abc. В первый раз мы делаем:\r\n\r\n`@history[:abc] = 1`\r\n\r\nА во второй? `@history[:abc] << 2`. Но это не сработает, т.к. там находится 1, и операция  << для числа не определена. "}}
{"actor":{"display_login":"vkurennov"}}