{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/22042","labels_url":"https://api.github.com/repos/rails/rails/issues/22042/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/22042/comments","events_url":"https://api.github.com/repos/rails/rails/issues/22042/events","html_url":"https://github.com/rails/rails/pull/22042","id":113001925,"number":22042,"title":"Added options for rails update task","user":{"login":"sivagollapalli","id":280199,"avatar_url":"https://avatars.githubusercontent.com/u/280199?v=3","gravatar_id":"","url":"https://api.github.com/users/sivagollapalli","html_url":"https://github.com/sivagollapalli","followers_url":"https://api.github.com/users/sivagollapalli/followers","following_url":"https://api.github.com/users/sivagollapalli/following{/other_user}","gists_url":"https://api.github.com/users/sivagollapalli/gists{/gist_id}","starred_url":"https://api.github.com/users/sivagollapalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sivagollapalli/subscriptions","organizations_url":"https://api.github.com/users/sivagollapalli/orgs","repos_url":"https://api.github.com/users/sivagollapalli/repos","events_url":"https://api.github.com/users/sivagollapalli/events{/privacy}","received_events_url":"https://api.github.com/users/sivagollapalli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"senny","id":5402,"avatar_url":"https://avatars.githubusercontent.com/u/5402?v=3","gravatar_id":"","url":"https://api.github.com/users/senny","html_url":"https://github.com/senny","followers_url":"https://api.github.com/users/senny/followers","following_url":"https://api.github.com/users/senny/following{/other_user}","gists_url":"https://api.github.com/users/senny/gists{/gist_id}","starred_url":"https://api.github.com/users/senny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senny/subscriptions","organizations_url":"https://api.github.com/users/senny/orgs","repos_url":"https://api.github.com/users/senny/repos","events_url":"https://api.github.com/users/senny/events{/privacy}","received_events_url":"https://api.github.com/users/senny/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-10-23T11:27:22Z","updated_at":"2015-12-21T13:29:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22042","html_url":"https://github.com/rails/rails/pull/22042","diff_url":"https://github.com/rails/rails/pull/22042.diff","patch_url":"https://github.com/rails/rails/pull/22042.patch"},"body":"@carlosantoniodasilva Added options for `rails:update` rake task. If user executes `bundle exec rails:update skip_active_record=true` then it automatically comments active record related configuration while updating.\r\n\r\nRef discussion thread: https://groups.google.com/forum/#!topic/rubyonrails-core/VuC8ht0kaA8 \r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/166305731","html_url":"https://github.com/rails/rails/pull/22042#issuecomment-166305731","issue_url":"https://api.github.com/repos/rails/rails/issues/22042","id":166305731,"user":{"login":"senny","id":5402,"avatar_url":"https://avatars.githubusercontent.com/u/5402?v=3","gravatar_id":"","url":"https://api.github.com/users/senny","html_url":"https://github.com/senny","followers_url":"https://api.github.com/users/senny/followers","following_url":"https://api.github.com/users/senny/following{/other_user}","gists_url":"https://api.github.com/users/senny/gists{/gist_id}","starred_url":"https://api.github.com/users/senny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senny/subscriptions","organizations_url":"https://api.github.com/users/senny/orgs","repos_url":"https://api.github.com/users/senny/repos","events_url":"https://api.github.com/users/senny/events{/privacy}","received_events_url":"https://api.github.com/users/senny/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T13:29:28Z","updated_at":"2015-12-21T13:29:28Z","body":"Duplicating the option parsing logic doesn't seem like a maintainable way to approach this. This will lag behind the support options very quickly. I wonder if there is a good way to reuse the generator flags from `rails new`. @rafaelfranca does anything come to mind?"}}