{"action":"created","issue":{"url":"https://api.github.com/repos/evil-preacher/booking/issues/3","repository_url":"https://api.github.com/repos/evil-preacher/booking","labels_url":"https://api.github.com/repos/evil-preacher/booking/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/evil-preacher/booking/issues/3/comments","events_url":"https://api.github.com/repos/evil-preacher/booking/issues/3/events","html_url":"https://github.com/evil-preacher/booking/pull/3","id":202140576,"number":3,"title":"Adding different carriages and station numbers","user":{"login":"evil-preacher","id":4651498,"avatar_url":"https://avatars.githubusercontent.com/u/4651498?v=3","gravatar_id":"","url":"https://api.github.com/users/evil-preacher","html_url":"https://github.com/evil-preacher","followers_url":"https://api.github.com/users/evil-preacher/followers","following_url":"https://api.github.com/users/evil-preacher/following{/other_user}","gists_url":"https://api.github.com/users/evil-preacher/gists{/gist_id}","starred_url":"https://api.github.com/users/evil-preacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evil-preacher/subscriptions","organizations_url":"https://api.github.com/users/evil-preacher/orgs","repos_url":"https://api.github.com/users/evil-preacher/repos","events_url":"https://api.github.com/users/evil-preacher/events{/privacy}","received_events_url":"https://api.github.com/users/evil-preacher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-20T13:30:30Z","updated_at":"2017-02-01T23:14:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/evil-preacher/booking/pulls/3","html_url":"https://github.com/evil-preacher/booking/pull/3","diff_url":"https://github.com/evil-preacher/booking/pull/3.diff","patch_url":"https://github.com/evil-preacher/booking/pull/3.patch"},"body":"Имеется две проблемы:\r\n\r\n1. При попытке изменения вагона выходит ошибка: при обращении к методу `carriage_params` в `params.require(:carriage)` вагон, почему-то, не находится, соответственно, экшн ` update` не срабатывает. Почему - не могу понять.\r\n\r\n2. Добавление номера к станции (звучало легко, мозг сломал три раза) - не работает. Смотрю на код - вроде должен работать. Сравнил с кодом сотоварищей - вроде даже без \"вроде\" должен работать. По факту - не работает. \"Метод update_station_number не найден\".\r\n\r\nВсё-таки тяжеловато без программистского бэкграунда, но вы предупреждали)\r\n\r\nЧЯДНТ?"},"comment":{"url":"https://api.github.com/repos/evil-preacher/booking/issues/comments/276814209","html_url":"https://github.com/evil-preacher/booking/pull/3#issuecomment-276814209","issue_url":"https://api.github.com/repos/evil-preacher/booking/issues/3","id":276814209,"user":{"login":"psylone","id":224141,"avatar_url":"https://avatars.githubusercontent.com/u/224141?v=3","gravatar_id":"","url":"https://api.github.com/users/psylone","html_url":"https://github.com/psylone","followers_url":"https://api.github.com/users/psylone/followers","following_url":"https://api.github.com/users/psylone/following{/other_user}","gists_url":"https://api.github.com/users/psylone/gists{/gist_id}","starred_url":"https://api.github.com/users/psylone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psylone/subscriptions","organizations_url":"https://api.github.com/users/psylone/orgs","repos_url":"https://api.github.com/users/psylone/repos","events_url":"https://api.github.com/users/psylone/events{/privacy}","received_events_url":"https://api.github.com/users/psylone/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T23:14:09Z","updated_at":"2017-02-01T23:14:09Z","body":"Вот [здесь](https://github.com/evil-preacher/booking/pull/3/files#diff-e13052b4954e47bf98e4f393915599eeR13) ты обновляешь объект класса `RailwayStationsRoute` пытаешься обновить у него поле `order` которого нет."}}
{"actor":{"display_login":"psylone"}}