GitHub PullRequestReviewCommentEvent at 2014-03-28 00:21:38
Repository: shuttle
Actor: RickCSong
Payload: {"comment":{"url":"https://api.github.com/repos/square/shuttle/pulls/comments/11051441","id":11051441,"diff_hunk":"@@ -0,0 +1,16 @@\n+# Copyright 2014 Square Inc.\n+#\n+#    Licensed under the Apache License, Version 2.0 (the \"License\");\n+#    you may not use this file except in compliance with the License.\n+#    You may obtain a copy of the License at\n+#\n+#        http://www.apache.org/licenses/LICENSE-2.0\n+#\n+#    Unless required by applicable law or agreed to in writing, software\n+#    distributed under the License is distributed on an \"AS IS\" BASIS,\n+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+#    See the License for the specific language governing permissions and\n+#    limitations under the License.\n+\n+Rails.application.routes.default_url_options =\n+    Shuttle::Configuration.worker.default_url_options.symbolize_keys","path":"config/initializers/worker.rb","position":16,"original_position":16,"commit_id":"ec5c3603c85f5c2fe3b0cc52b2962c6edbb3dc63","original_commit_id":"ec5c3603c85f5c2fe3b0cc52b2962c6edbb3dc63","user":{"login":"RickCSong","id":1816547,"avatar_url":"https://avatars.githubusercontent.com/u/1816547?","gravatar_id":"4321f706d8eca4978ea06385b5f0e0db","url":"https://api.github.com/users/RickCSong","html_url":"https://github.com/RickCSong","followers_url":"https://api.github.com/users/RickCSong/followers","following_url":"https://api.github.com/users/RickCSong/following{/other_user}","gists_url":"https://api.github.com/users/RickCSong/gists{/gist_id}","starred_url":"https://api.github.com/users/RickCSong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickCSong/subscriptions","organizations_url":"https://api.github.com/users/RickCSong/orgs","repos_url":"https://api.github.com/users/RickCSong/repos","events_url":"https://api.github.com/users/RickCSong/events{/privacy}","received_events_url":"https://api.github.com/users/RickCSong/received_events","type":"User","site_admin":false},"body":"Nevermind.  Seems like I have to do it like this (since models conceptually should not see URL helpers and stuff).....  Is there another configuration we can set?  like \r\nRails.application.config.[workers].default_url_options\r\nor the sort?  ","created_at":"2014-03-28T00:21:38Z","updated_at":"2014-03-28T00:21:38Z","html_url":"https://github.com/square/shuttle/pull/76#discussion_r11051441","pull_request_url":"https://api.github.com/repos/square/shuttle/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/square/shuttle/pulls/comments/11051441"},"html":{"href":"https://github.com/square/shuttle/pull/76#discussion_r11051441"},"pull_request":{"href":"https://api.github.com/repos/square/shuttle/pulls/76"}}}}