Skip to content

Instantly share code, notes, and snippets.

@joshukraine
Created May 22, 2014 08:43
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 joshukraine/73e9e5e3ca05ecb9ec75 to your computer and use it in GitHub Desktop.
Save joshukraine/73e9e5e3ca05ecb9ec75 to your computer and use it in GitHub Desktop.
log output from May 22, troubleshooting photo shouts
~/dev/Projects/intermediate-rails/shouter:master$ tail -f log/development.log
6: <% end %>
app/views/shouts/_shout.html.erb:4:in `block in _app_views_shouts__shout_html_erb___4235809614013594527_70308976527280'
app/views/shouts/_shout.html.erb:1:in `_app_views_shouts__shout_html_erb___4235809614013594527_70308976527280'
app/views/dashboards/show.html.erb:11:in `_app_views_dashboards_show_html_erb__2566323723650673852_70308976558720'
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.0ms)
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Started GET "/" for 127.0.0.1 at 2014-05-22 07:34:23 +0300
Processing by HomesController#show as HTML
Rendered homes/show.html.erb within layouts/application (3.2ms)
Completed 200 OK in 67ms (Views: 66.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 07:34:23 +0300
Served asset /application.css - 200 OK (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 07:34:23 +0300
Served asset /jquery.js - 200 OK (12ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 07:34:23 +0300
Served asset /jquery_ujs.js - 200 OK (2ms)
Connecting to database specified by database.yml
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 07:34:25 +0300
Served asset /shouter.css - 200 OK (1ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 07:34:25 +0300
Served asset /application.js - 200 OK (3ms)
Started GET "/session/new" for 127.0.0.1 at 2014-05-22 07:34:27 +0300
Processing by SessionsController#new as HTML
Rendered sessions/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms)
Started POST "/session" for 127.0.0.1 at 2014-05-22 07:34:33 +0300
Processing by SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ox6Q6p6QP1EiA8agoSvur7eEPT140vSeFreoq0uviXI=", "session"=>{"email"=>"joshukraine@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'joshukraine@gmail.com' LIMIT 1
Redirected to http://shouter.dev/
Completed 302 Found in 201ms (ActiveRecord: 0.0ms)
Started GET "/" for 127.0.0.1 at 2014-05-22 07:34:33 +0300
Processing by HomesController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Redirected to http://shouter.dev/dashboard
Filter chain halted as :check_logged_in_user rendered or redirected
Completed 302 Found in 40ms (ActiveRecord: 0.2ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 07:34:33 +0300
Processing by DashboardsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.7ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Rendered shouts/_shout.html.erb (43.6ms)
Rendered dashboards/show.html.erb within layouts/application (72.6ms)
Completed 500 Internal Server Error in 131ms
ActionView::Template::Error ('nil' is not an ActiveModel-compatible object that returns a valid partial path.):
1: <%= div_for shout do %>
2: <%= link_to shout.user.username, shout.user %>
3: shouted
4: <%= render shout.content %>
5: <%= link_to "#{time_ago_in_words(shout.created_at)} ago", shout %>
6: <% end %>
app/views/shouts/_shout.html.erb:4:in `block in _app_views_shouts__shout_html_erb__3355360080970202578_70231172151620'
app/views/shouts/_shout.html.erb:1:in `_app_views_shouts__shout_html_erb__3355360080970202578_70231172151620'
app/views/dashboards/show.html.erb:11:in `_app_views_dashboards_show_html_erb__4237789362652886457_70231159863420'
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.1ms)
Connecting to database specified by database.yml
Started GET "/" for 127.0.0.1 at 2014-05-22 11:26:17 +0300
Processing by HomesController#show as HTML
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Redirected to http://shouter.dev/dashboard
Filter chain halted as :check_logged_in_user rendered or redirected
Completed 302 Found in 67ms (ActiveRecord: 2.8ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:26:17 +0300
Processing by DashboardsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.6ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Rendered shouts/_shout.html.erb (26.7ms)
Rendered dashboards/show.html.erb within layouts/application (79.8ms)
Completed 500 Internal Server Error in 140ms
ActionView::Template::Error ('nil' is not an ActiveModel-compatible object that returns a valid partial path.):
1: <%= div_for shout do %>
2: <%= link_to shout.user.username, shout.user %>
3: shouted
4: <%= render shout.content %>
5: <%= link_to "#{time_ago_in_words(shout.created_at)} ago", shout %>
6: <% end %>
app/views/shouts/_shout.html.erb:4:in `block in _app_views_shouts__shout_html_erb___842477245153987525_70182996248980'
app/views/shouts/_shout.html.erb:1:in `_app_views_shouts__shout_html_erb___842477245153987525_70182996248980'
app/views/dashboards/show.html.erb:11:in `_app_views_dashboards_show_html_erb__619059474974538255_70183013271700'
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.3ms)
Started GET "/" for 127.0.0.1 at 2014-05-22 11:26:25 +0300
Processing by HomesController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Redirected to http://shouter.dev/dashboard
Filter chain halted as :check_logged_in_user rendered or redirected
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:26:25 +0300
Processing by DashboardsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.2ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Rendered shouts/_shout.html.erb (1.8ms)
Rendered dashboards/show.html.erb within layouts/application (5.0ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error ('nil' is not an ActiveModel-compatible object that returns a valid partial path.):
1: <%= div_for shout do %>
2: <%= link_to shout.user.username, shout.user %>
3: shouted
4: <%= render shout.content %>
5: <%= link_to "#{time_ago_in_words(shout.created_at)} ago", shout %>
6: <% end %>
app/views/shouts/_shout.html.erb:4:in `block in _app_views_shouts__shout_html_erb___842477245153987525_70182996248980'
app/views/shouts/_shout.html.erb:1:in `_app_views_shouts__shout_html_erb___842477245153987525_70182996248980'
app/views/dashboards/show.html.erb:11:in `_app_views_dashboards_show_html_erb__619059474974538255_70183013271700'
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/joshukraine/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.7ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:29:31 +0300
Processing by DashboardsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
Rendered collection (0.0ms)
Rendered dashboards/show.html.erb within layouts/application (6.9ms)
Completed 200 OK in 75ms (Views: 28.5ms | ActiveRecord: 1.4ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:31 +0300
Served asset /shouter.css - 304 Not Modified (2ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:31 +0300
Served asset /jquery.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:31 +0300
Served asset /application.js - 304 Not Modified (3ms)
Connecting to database specified by database.yml
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:33 +0300
Served asset /application.css - 304 Not Modified (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:33 +0300
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started POST "/text_shouts" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Processing by TextShoutsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ox6Q6p6QP1EiA8agoSvur7eEPT140vSeFreoq0uviXI=", "text_shout"=>{"body"=>"Hello!"}, "commit"=>"Shout!"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
(0.1ms) begin transaction
SQL (4.2ms) INSERT INTO "text_shouts" ("body") VALUES (?) [["body", "Hello!"]]
SQL (2.3ms) INSERT INTO "shouts" ("content_id", "content_type", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["content_id", 7], ["content_type", "TextShout"], ["created_at", Thu, 22 May 2014 08:29:36 UTC +00:00], ["updated_at", Thu, 22 May 2014 08:29:36 UTC +00:00], ["user_id", 4]]
(0.9ms) commit transaction
Redirected to http://shouter.dev/dashboard
Completed 302 Found in 20ms (ActiveRecord: 7.7ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Processing by DashboardsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.3ms)
Rendered shouts/_shout.html.erb (12.3ms)
Rendered dashboards/show.html.erb within layouts/application (15.3ms)
Completed 200 OK in 42ms (Views: 40.0ms | ActiveRecord: 0.4ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Served asset /shouter.css - 304 Not Modified (1ms)
Served asset /application.css - 304 Not Modified (4ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:36 +0300
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:29:43 +0300
Processing by DashboardsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.2ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.1ms)
Rendered shouts/_shout.html.erb (3.1ms)
Rendered dashboards/show.html.erb within layouts/application (6.1ms)
Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:43 +0300
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:43 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:43 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:43 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:43 +0300
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/users/4" for 127.0.0.1 at 2014-05-22 11:29:45 +0300
Processing by UsersController#show as HTML
Parameters: {"id"=>"4"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "4"]]
Shout Load (0.2ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (3.0ms)
Rendered users/show.html.erb within layouts/application (5.1ms)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.5ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:45 +0300
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:45 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:45 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:45 +0300
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:45 +0300
Served asset /application.js - 304 Not Modified (19ms)
Started GET "/shouts/11" for 127.0.0.1 at 2014-05-22 11:29:46 +0300
Processing by ShoutsController#show as HTML
Parameters: {"id"=>"11"}
Shout Load (0.2ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."id" = ? ORDER BY created_at DESC LIMIT 1 [["id", "11"]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (4.3ms)
Rendered shouts/show.html.erb within layouts/application (5.2ms)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.5ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:46 +0300
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:46 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:46 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:46 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:46 +0300
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/users/4" for 127.0.0.1 at 2014-05-22 11:29:47 +0300
Processing by UsersController#show as HTML
Parameters: {"id"=>"4"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "4"]]
Shout Load (0.2ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (3.1ms)
Rendered users/show.html.erb within layouts/application (5.2ms)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.6ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:47 +0300
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:47 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:47 +0300
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:47 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:47 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:29:49 +0300
Processing by DashboardsController#show as HTML
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.2ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (2.6ms)
Rendered dashboards/show.html.erb within layouts/application (5.4ms)
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.4ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:49 +0300
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:49 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:49 +0300
Served asset /application.css - 304 Not Modified (0ms)
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:49 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:49 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/users/4" for 127.0.0.1 at 2014-05-22 11:29:50 +0300
Processing by UsersController#show as HTML
Parameters: {"id"=>"4"}
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "4"]]
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (2.6ms)
Rendered users/show.html.erb within layouts/application (3.9ms)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:50 +0300
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:50 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Served asset /shouter.css - 304 Not Modified (0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:50 +0300
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:50 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:50 +0300
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:29:51 +0300
Processing by DashboardsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (2.2ms)
Rendered dashboards/show.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:51 +0300
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:51 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:51 +0300
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:51 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:51 +0300
Served asset /application.js - 304 Not Modified (0ms)
Started GET "/users/4" for 127.0.0.1 at 2014-05-22 11:29:52 +0300
Processing by UsersController#show as HTML
Parameters: {"id"=>"4"}
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "4"]]
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (2.6ms)
Rendered users/show.html.erb within layouts/application (4.0ms)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.5ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:52 +0300
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:29:52 +0300
Served asset /shouter.css - 304 Not Modified (0ms)
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:52 +0300
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:52 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:29:52 +0300
Served asset /application.js - 304 Not Modified (0ms)
Connecting to database specified by database.yml
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:30:15 +0300
Processing by DashboardsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.3ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.5ms)
Rendered shouts/_shout.html.erb (33.0ms)
Rendered dashboards/show.html.erb within layouts/application (53.8ms)
Completed 200 OK in 161ms (Views: 73.0ms | ActiveRecord: 2.8ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:30:15 +0300
Served asset /shouter.css - 304 Not Modified (2ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:30:15 +0300
Served asset /application.css - 304 Not Modified (3ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:30:15 +0300
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Connecting to database specified by database.yml
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:30:17 +0300
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:30:17 +0300
Served asset /application.js - 304 Not Modified (3ms)
^L^C
~/dev/Projects/intermediate-rails/shouter:master$
~/dev/Projects/intermediate-rails/shouter:master$ tail -f log/development.log
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
Connecting to database specified by database.yml
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:30:17 +0300
Served asset /jquery.js - 304 Not Modified (3ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:30:17 +0300
Served asset /application.js - 304 Not Modified (3ms)
Started POST "/photo_shouts" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Processing by PhotoShoutsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ox6Q6p6QP1EiA8agoSvur7eEPT140vSeFreoq0uviXI=", "photo_shout"=>{"image"=>#<ActionDispatch::Http::UploadedFile:0x007fcd7144d6a8 @original_filename="cathy.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"photo_shout[image]\"; filename=\"cathy.jpg\"\r\nContent-Type: image/jpeg\r\n", @tempfile=#<File:/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/RackMultipart20140522-93921-12k5ueu>>}, "commit"=>"Shout!"}
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/cathy20140522-93921-1xny7vv.jpg[0]'
Command :: identify -format %m '/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/cathy20140522-93921-1xny7vv.jpg[0]'
Command :: identify -format %m '/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/cathy20140522-93921-1xny7vv.jpg[0]'
Command :: convert '/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/cathy20140522-93921-1xny7vv.jpg[0]' -auto-orient -resize "200x200>" '/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/cathy20140522-93921-1xny7vv20140522-93921-x1ir5e'
Command :: file -b --mime '/var/folders/lw/np9c97vd33x0xgp83km86m9w0000gn/T/cathy20140522-93921-1xny7vv20140522-93921-x1ir5e'
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
(0.1ms) begin transaction
Binary data inserted for `string` type on column `image_content_type`
SQL (2.3ms) INSERT INTO "photo_shouts" ("image_content_type", "image_file_name", "image_file_size", "image_updated_at") VALUES (?, ?, ?, ?) [["image_content_type", "image/jpeg"], ["image_file_name", "cathy.jpg"], ["image_file_size", 24260], ["image_updated_at", Thu, 22 May 2014 08:32:04 UTC +00:00]]
[paperclip] Saving attachments.
SQL (0.3ms) INSERT INTO "shouts" ("content_id", "content_type", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["content_id", 1], ["content_type", "PhotoShout"], ["created_at", Thu, 22 May 2014 08:32:04 UTC +00:00], ["updated_at", Thu, 22 May 2014 08:32:04 UTC +00:00], ["user_id", 4]]
(0.7ms) commit transaction
Redirected to http://shouter.dev/dashboard
Completed 302 Found in 202ms (ActiveRecord: 3.6ms)
Started GET "/dashboard" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Processing by DashboardsController#show as HTML
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
Shout Load (0.1ms) SELECT "shouts".* FROM "shouts" WHERE "shouts"."user_id" = 4 ORDER BY created_at DESC
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
PhotoShout Load (0.1ms) SELECT "photo_shouts".* FROM "photo_shouts" WHERE "photo_shouts"."id" = 1 LIMIT 1
Rendered photo_shouts/_photo_shout.html.erb (1.3ms)
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
TextShout Load (0.1ms) SELECT "text_shouts".* FROM "text_shouts" WHERE "text_shouts"."id" = 7 LIMIT 1
Rendered text_shouts/_text_shout.html.erb (0.0ms)
Rendered shouts/_shout.html.erb (8.5ms)
Rendered dashboards/show.html.erb within layouts/application (11.5ms)
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.6ms)
Started GET "/assets/shouter.css?body=1" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Served asset /shouter.css - 304 Not Modified (2ms)
Served asset /application.css - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-22 11:32:04 +0300
Served asset /application.js - 304 Not Modified (0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment