Skip to content

Instantly share code, notes, and snippets.

@Apane
Created August 14, 2013 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Apane/3013831b629df66b9408 to your computer and use it in GitHub Desktop.
Save Apane/3013831b629df66b9408 to your computer and use it in GitHub Desktop.
[leap]$heroku logs --app serene-dawn-9638
2013-08-14T06:25:26.090168+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 16830 -e $RAILS_ENV`
2013-08-14T06:25:30.228134+00:00 app[web.1]: [2013-08-14 06:25:30] INFO WEBrick 1.3.1
2013-08-14T06:25:30.228134+00:00 app[web.1]: [2013-08-14 06:25:30] INFO ruby 2.0.0 (2013-06-27) [x86_64-linux]
2013-08-14T06:25:30.228322+00:00 app[web.1]: [2013-08-14 06:25:30] INFO WEBrick::HTTPServer#start: pid=2 port=16830
2013-08-14T06:25:30.727066+00:00 heroku[web.1]: State changed from starting to up
2013-08-14T06:25:32.122169+00:00 app[web.1]: => Booting WEBrick
2013-08-14T06:25:32.122169+00:00 app[web.1]: I, [2013-08-14T06:25:32.122097 #2] INFO -- : Started GET "/new_songs" for 99.233.170.104 at 2013-08-14 06:25:32 +0000
2013-08-14T06:25:32.122169+00:00 app[web.1]: => Rails 4.0.0 application starting in production on http://0.0.0.0:16830
2013-08-14T06:25:32.122169+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-08-14T06:25:32.122169+00:00 app[web.1]: I, [2013-08-14T06:25:32.122030 #2] INFO -- : Started GET "/new_songs" for 99.233.170.104 at 2013-08-14 06:25:32 +0000
2013-08-14T06:25:32.122169+00:00 app[web.1]: => Run `rails server -h` for more startup options
2013-08-14T06:25:32.705483+00:00 heroku[router]: at=info method=GET path=/new_songs host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=592ms status=304 bytes=0
2013-08-14T06:25:33.603467+00:00 heroku[router]: at=info method=GET path=/robots.txt host=www.leapfm.com fwd="107.20.88.137" dyno=web.1 connect=1ms service=4ms status=200 bytes=204
2013-08-14T06:25:34.637851+00:00 app[web.1]: I, [2013-08-14T06:25:34.637714 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:34 +0000
2013-08-14T06:25:34.637851+00:00 app[web.1]: I, [2013-08-14T06:25:34.637780 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:34 +0000
2013-08-14T06:25:34.797240+00:00 heroku[router]: at=info method=GET path=/ host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=162ms status=304 bytes=0
2013-08-14T06:25:37.858462+00:00 app[web.1]: I, [2013-08-14T06:25:37.858322 #2] INFO -- : Started GET "/songs?page=2&_=1376461534917" for 99.233.170.104 at 2013-08-14 06:25:37 +0000
2013-08-14T06:25:37.858462+00:00 app[web.1]: I, [2013-08-14T06:25:37.858381 #2] INFO -- : Started GET "/songs?page=2&_=1376461534917" for 99.233.170.104 at 2013-08-14 06:25:37 +0000
2013-08-14T06:25:38.004289+00:00 heroku[router]: at=info method=GET path=/songs?page=2&_=1376461534917 host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=151ms status=200 bytes=9813
2013-08-14T06:25:40.780402+00:00 app[web.1]: F, [2013-08-14T06:25:40.780323 #2] FATAL -- :
2013-08-14T06:25:40.778606+00:00 app[web.1]:
2013-08-14T06:25:40.780402+00:00 app[web.1]:
2013-08-14T06:25:40.778606+00:00 app[web.1]:
2013-08-14T06:25:40.780402+00:00 app[web.1]: NoMethodError (undefined method `vote_for' for nil:NilClass):
2013-08-14T06:25:40.769783+00:00 app[web.1]: I, [2013-08-14T06:25:40.769649 #2] INFO -- : Started PUT "/songs/attention-let-me-go-remix/vote_for" for 99.233.170.104 at 2013-08-14 06:25:40 +0000
2013-08-14T06:25:40.780402+00:00 app[web.1]: app/controllers/songs_controller.rb:14:in `vote_for'
2013-08-14T06:25:40.769783+00:00 app[web.1]: I, [2013-08-14T06:25:40.769706 #2] INFO -- : Started PUT "/songs/attention-let-me-go-remix/vote_for" for 99.233.170.104 at 2013-08-14 06:25:40 +0000
2013-08-14T06:25:40.780402+00:00 app[web.1]:
2013-08-14T06:25:40.778606+00:00 app[web.1]: F, [2013-08-14T06:25:40.778509 #2] FATAL -- :
2013-08-14T06:25:40.781107+00:00 app[web.1]: I, [2013-08-14T06:25:40.781019 #2] INFO -- : Started PUT "/songs/attention-let-me-go-remix/vote_for" for 99.233.170.104 at 2013-08-14 06:25:40 +0000
2013-08-14T06:25:40.785994+00:00 heroku[router]: at=info method=PUT path=/songs/attention-let-me-go-remix/vote_for host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=18ms status=500 bytes=1266
2013-08-14T06:25:40.778606+00:00 app[web.1]: NoMethodError (undefined method `vote_for' for nil:NilClass):
2013-08-14T06:25:40.781168+00:00 app[web.1]: I, [2013-08-14T06:25:40.781070 #2] INFO -- : Started PUT "/songs/attention-let-me-go-remix/vote_for" for 99.233.170.104 at 2013-08-14 06:25:40 +0000
2013-08-14T06:25:40.778606+00:00 app[web.1]: app/controllers/songs_controller.rb:14:in `vote_for'
2013-08-14T06:25:40.787643+00:00 app[web.1]: NoMethodError (undefined method `vote_for' for nil:NilClass):
2013-08-14T06:25:40.787643+00:00 app[web.1]: app/controllers/songs_controller.rb:14:in `vote_for'
2013-08-14T06:25:40.787643+00:00 app[web.1]: F, [2013-08-14T06:25:40.787594 #2] FATAL -- :
2013-08-14T06:25:40.790432+00:00 heroku[router]: at=info method=PUT path=/songs/attention-let-me-go-remix/vote_for host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=14ms status=500 bytes=1266
2013-08-14T06:25:40.787643+00:00 app[web.1]:
2013-08-14T06:25:40.787643+00:00 app[web.1]: app/controllers/songs_controller.rb:14:in `vote_for'
2013-08-14T06:25:40.787643+00:00 app[web.1]: F, [2013-08-14T06:25:40.787553 #2] FATAL -- :
2013-08-14T06:25:40.787643+00:00 app[web.1]:
2013-08-14T06:25:40.787643+00:00 app[web.1]:
2013-08-14T06:25:40.787643+00:00 app[web.1]: NoMethodError (undefined method `vote_for' for nil:NilClass):
2013-08-14T06:25:40.787643+00:00 app[web.1]:
2013-08-14T06:25:44.382488+00:00 app[web.1]: I, [2013-08-14T06:25:44.382377 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:44 +0000
2013-08-14T06:25:44.382488+00:00 app[web.1]: I, [2013-08-14T06:25:44.382430 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:44 +0000
2013-08-14T06:25:44.597824+00:00 heroku[router]: at=info method=GET path=/ host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=223ms status=304 bytes=0
2013-08-14T06:25:47.177965+00:00 app[web.1]: I, [2013-08-14T06:25:47.177828 #2] INFO -- : Started GET "/songs?page=2&_=1376461545011" for 99.233.170.104 at 2013-08-14 06:25:47 +0000
2013-08-14T06:25:47.177965+00:00 app[web.1]: I, [2013-08-14T06:25:47.177888 #2] INFO -- : Started GET "/songs?page=2&_=1376461545011" for 99.233.170.104 at 2013-08-14 06:25:47 +0000
2013-08-14T06:25:50.191360+00:00 app[web.1]: I, [2013-08-14T06:25:50.191220 #2] INFO -- : Started GET "/songs?utf8=%E2%9C%93&query=pop" for 99.233.170.104 at 2013-08-14 06:25:50 +0000
2013-08-14T06:25:50.191360+00:00 app[web.1]: I, [2013-08-14T06:25:50.191277 #2] INFO -- : Started GET "/songs?utf8=%E2%9C%93&query=pop" for 99.233.170.104 at 2013-08-14 06:25:50 +0000
2013-08-14T06:25:50.274439+00:00 heroku[router]: at=info method=GET path=/songs?utf8=%E2%9C%93&query=pop host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=88ms status=200 bytes=6800
2013-08-14T06:25:51.779614+00:00 app[web.1]: I, [2013-08-14T06:25:51.779540 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:51 +0000
2013-08-14T06:25:51.779614+00:00 app[web.1]: I, [2013-08-14T06:25:51.779483 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:51 +0000
2013-08-14T06:25:51.931563+00:00 heroku[router]: at=info method=GET path=/ host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=1ms service=155ms status=304 bytes=0
2013-08-14T06:25:52.989659+00:00 app[web.1]: I, [2013-08-14T06:25:52.989522 #2] INFO -- : Started GET "/users/sign_in" for 99.233.170.104 at 2013-08-14 06:25:52 +0000
2013-08-14T06:25:52.989659+00:00 app[web.1]: I, [2013-08-14T06:25:52.989579 #2] INFO -- : Started GET "/users/sign_in" for 99.233.170.104 at 2013-08-14 06:25:52 +0000
2013-08-14T06:25:53.018652+00:00 heroku[router]: at=info method=GET path=/users/sign_in host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=32ms status=200 bytes=4418
2013-08-14T06:25:55.757272+00:00 app[web.1]: I, [2013-08-14T06:25:55.757138 #2] INFO -- : Started GET "/users/auth/twitter" for 99.233.170.104 at 2013-08-14 06:25:55 +0000
2013-08-14T06:25:55.757272+00:00 app[web.1]: I, [2013-08-14T06:25:55.757195 #2] INFO -- : Started GET "/users/auth/twitter" for 99.233.170.104 at 2013-08-14 06:25:55 +0000
2013-08-14T06:25:55.757703+00:00 app[web.1]: I, [2013-08-14T06:25:55.757634 #2] INFO -- omniauth: (twitter) Request phase initiated.
2013-08-14T06:25:56.071907+00:00 heroku[router]: at=info method=GET path=/users/auth/twitter host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=21ms service=318ms status=302 bytes=113
2013-08-14T06:25:56.263218+00:00 app[web.1]: I, [2013-08-14T06:25:56.263049 #2] INFO -- : Started GET "/users/auth/twitter" for 99.233.170.104 at 2013-08-14 06:25:56 +0000
2013-08-14T06:25:56.263576+00:00 app[web.1]: I, [2013-08-14T06:25:56.263503 #2] INFO -- omniauth: (twitter) Request phase initiated.
2013-08-14T06:25:56.263218+00:00 app[web.1]: I, [2013-08-14T06:25:56.263116 #2] INFO -- : Started GET "/users/auth/twitter" for 99.233.170.104 at 2013-08-14 06:25:56 +0000
2013-08-14T06:25:56.544960+00:00 heroku[router]: at=info method=GET path=/users/auth/twitter host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=285ms status=302 bytes=114
2013-08-14T06:25:57.329761+00:00 app[web.1]: I, [2013-08-14T06:25:57.329674 #2] INFO -- omniauth: (twitter) Callback phase initiated.
2013-08-14T06:25:57.329146+00:00 app[web.1]: I, [2013-08-14T06:25:57.329006 #2] INFO -- : Started GET "/users/auth/twitter/callback?oauth_token=sNTx9eD8a1TdVNzTsxPsEnhuxgQAqENVwUuRSyLlI&oauth_verifier=Phrlq5o9rUVUuyxFg1ccQC7hdrGFO1oKNh5kgp3dY" for 99.233.170.104 at 2013-08-14 06:25:57 +0000
2013-08-14T06:25:57.329146+00:00 app[web.1]: I, [2013-08-14T06:25:57.329063 #2] INFO -- : Started GET "/users/auth/twitter/callback?oauth_token=sNTx9eD8a1TdVNzTsxPsEnhuxgQAqENVwUuRSyLlI&oauth_verifier=Phrlq5o9rUVUuyxFg1ccQC7hdrGFO1oKNh5kgp3dY" for 99.233.170.104 at 2013-08-14 06:25:57 +0000
2013-08-14T06:25:58.023185+00:00 heroku[router]: at=info method=GET path=/users/auth/twitter/callback?oauth_token=sNTx9eD8a1TdVNzTsxPsEnhuxgQAqENVwUuRSyLlI&oauth_verifier=Phrlq5o9rUVUuyxFg1ccQC7hdrGFO1oKNh5kgp3dY host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=700ms status=302 bytes=88
2013-08-14T06:25:58.098658+00:00 app[web.1]: I, [2013-08-14T06:25:58.098509 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:58 +0000
2013-08-14T06:25:58.098658+00:00 app[web.1]: I, [2013-08-14T06:25:58.098570 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:25:58 +0000
2013-08-14T06:25:58.339202+00:00 heroku[router]: at=info method=GET path=/ host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=245ms status=200 bytes=14002
2013-08-14T06:25:47.315607+00:00 heroku[router]: at=info method=GET path=/songs?page=2&_=1376461545011 host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=3ms service=143ms status=200 bytes=9813
2013-08-14T06:26:00.338179+00:00 app[web.1]: I, [2013-08-14T06:26:00.338037 #2] INFO -- : Started GET "/songs?page=2&_=1376461558437" for 99.233.170.104 at 2013-08-14 06:26:00 +0000
2013-08-14T06:26:00.338179+00:00 app[web.1]: I, [2013-08-14T06:26:00.338097 #2] INFO -- : Started GET "/songs?page=2&_=1376461558437" for 99.233.170.104 at 2013-08-14 06:26:00 +0000
2013-08-14T06:26:00.474672+00:00 heroku[router]: at=info method=GET path=/songs?page=2&_=1376461558437 host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=140ms status=200 bytes=9813
2013-08-14T06:26:01.784107+00:00 app[web.1]: I, [2013-08-14T06:26:01.783972 #2] INFO -- : Started PUT "/songs/attention-let-me-go-remix/vote_for" for 99.233.170.104 at 2013-08-14 06:26:01 +0000
2013-08-14T06:26:01.784107+00:00 app[web.1]: I, [2013-08-14T06:26:01.784030 #2] INFO -- : Started PUT "/songs/attention-let-me-go-remix/vote_for" for 99.233.170.104 at 2013-08-14 06:26:01 +0000
2013-08-14T06:26:01.844770+00:00 app[web.1]:
2013-08-14T06:26:01.844770+00:00 app[web.1]:
2013-08-14T06:26:01.844770+00:00 app[web.1]: F, [2013-08-14T06:26:01.844711 #2] FATAL -- :
2013-08-14T06:26:01.844993+00:00 app[web.1]: : INSERT INTO "votes" ("created_at", "updated_at", "vote", "voter_id", "voter_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"):
2013-08-14T06:26:01.844770+00:00 app[web.1]: F, [2013-08-14T06:26:01.844651 #2] FATAL -- :
2013-08-14T06:26:01.844770+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::Error: ERROR: null value in column "voteable_id" violates not-null constraint
2013-08-14T06:26:01.844770+00:00 app[web.1]: DETAIL: Failing row contains (33, t, null, null, 1645964227, User, 2013-08-14 06:26:01.833331, 2013-08-14 06:26:01.833331).
2013-08-14T06:26:01.844770+00:00 app[web.1]: : INSERT INTO "votes" ("created_at", "updated_at", "vote", "voter_id", "voter_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"):
2013-08-14T06:26:01.844770+00:00 app[web.1]: app/controllers/songs_controller.rb:14:in `vote_for'
2013-08-14T06:26:01.844770+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::Error: ERROR: null value in column "voteable_id" violates not-null constraint
2013-08-14T06:26:01.844993+00:00 app[web.1]: app/controllers/songs_controller.rb:14:in `vote_for'
2013-08-14T06:26:01.844993+00:00 app[web.1]:
2013-08-14T06:26:01.844770+00:00 app[web.1]: DETAIL: Failing row contains (33, t, null, null, 1645964227, User, 2013-08-14 06:26:01.833331, 2013-08-14 06:26:01.833331).
2013-08-14T06:26:01.844993+00:00 app[web.1]:
2013-08-14T06:26:01.844240+00:00 heroku[router]: at=info method=PUT path=/songs/attention-let-me-go-remix/vote_for host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=68ms status=500 bytes=1266
2013-08-14T06:26:05.796017+00:00 heroku[router]: at=info method=GET path=/ host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=188ms status=304 bytes=0
2013-08-14T06:26:05.615660+00:00 app[web.1]: I, [2013-08-14T06:26:05.615525 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:26:05 +0000
2013-08-14T06:26:05.615660+00:00 app[web.1]: I, [2013-08-14T06:26:05.615580 #2] INFO -- : Started GET "/" for 99.233.170.104 at 2013-08-14 06:26:05 +0000
2013-08-14T06:26:08.148988+00:00 app[web.1]: I, [2013-08-14T06:26:08.148871 #2] INFO -- : Started GET "/songs?page=2&_=1376461565933" for 99.233.170.104 at 2013-08-14 06:26:08 +0000
2013-08-14T06:26:08.148988+00:00 app[web.1]: I, [2013-08-14T06:26:08.148930 #2] INFO -- : Started GET "/songs?page=2&_=1376461565933" for 99.233.170.104 at 2013-08-14 06:26:08 +0000
2013-08-14T06:26:08.352959+00:00 heroku[router]: at=info method=GET path=/songs?page=2&_=1376461565933 host=www.leapfm.com fwd="99.233.170.104" dyno=web.1 connect=2ms service=208ms status=200 bytes=9813
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment