Skip to content

Instantly share code, notes, and snippets.

@GirlBossRush
Created February 16, 2012 18:09
Show Gist options
  • Save GirlBossRush/1846793 to your computer and use it in GitHub Desktop.
Save GirlBossRush/1846793 to your computer and use it in GitHub Desktop.
Heroku log
➜ Abriiz-Rails git:(acceptance) heroku logs
2012-02-16T18:07:28+00:00 app[web.1]: Rendered user_mailer/welcome.text.erb (0.3ms)
2012-02-16T18:07:29+00:00 app[web.1]:
2012-02-16T18:07:29+00:00 app[web.1]: Sent mail to [email protected] (880ms)
2012-02-16T18:07:30+00:00 app[web.1]: Redirected to http://abriiz-staging.herokuapp.com/
2012-02-16T18:07:30+00:00 app[web.1]: Completed 302 Found in 2205ms
2012-02-16T18:07:30+00:00 app[web.1]: cache: [POST /users] invalidate, pass
2012-02-16T18:07:30+00:00 heroku[router]: POST abriiz-staging.herokuapp.com/users dyno=web.1 queue=0 wait=0ms service=2244ms status=302 bytes=112
2012-02-16T18:07:30+00:00 app[web.1]:
2012-02-16T18:07:30+00:00 app[web.1]:
2012-02-16T18:07:30+00:00 app[web.1]: Started GET "/" for 69.246.117.239 at 2012-02-16 18:07:30 +0000
2012-02-16T18:07:30+00:00 app[web.1]: Processing by PatientsController#default as HTML
2012-02-16T18:07:30+00:00 app[web.1]: Redirected to http://abriiz-staging.herokuapp.com/patients/307-bloberta/calendar
2012-02-16T18:07:30+00:00 app[web.1]: Completed 302 Found in 21ms
2012-02-16T18:07:30+00:00 app[web.1]: cache: [GET /] miss
2012-02-16T18:07:30+00:00 heroku[router]: GET abriiz-staging.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=33ms status=302 bytes=136
2012-02-16T18:07:30+00:00 app[web.1]:
2012-02-16T18:07:30+00:00 app[web.1]:
2012-02-16T18:07:30+00:00 app[web.1]: Started GET "/patients/307-bloberta/calendar" for 69.246.117.239 at 2012-02-16 18:07:30 +0000
2012-02-16T18:07:30+00:00 app[web.1]: Processing by CalendarsController#show as HTML
2012-02-16T18:07:30+00:00 app[web.1]: Parameters: {"patient_id"=>"307-bloberta"}
2012-02-16T18:07:30+00:00 app[web.1]: Rendered patients/_patient.html.erb (49.5ms)
2012-02-16T18:07:30+00:00 app[web.1]: Rendered patients/_patients.html.erb (56.3ms)
2012-02-16T18:07:30+00:00 app[web.1]: Rendered shared/_navigation.html.erb (179.4ms)
2012-02-16T18:07:30+00:00 app[web.1]: Rendered calendars/_table_header.html.erb (58.8ms)
2012-02-16T18:07:31+00:00 app[web.1]: Rendered calendars/_medications_doses.html.erb (17.8ms)
2012-02-16T18:07:31+00:00 app[web.1]: Rendered calendars/_goals.html.erb (0.2ms)
2012-02-16T18:07:31+00:00 app[web.1]: Rendered calendars/_entries.html.erb (186.5ms)
2012-02-16T18:07:31+00:00 app[web.1]: Rendered calendars/_weather.html.erb (13.2ms)
2012-02-16T18:07:31+00:00 app[web.1]: Rendered calendars/_calendar.html.erb (313.0ms)
2012-02-16T18:07:31+00:00 app[web.1]: Rendered calendars/show.html.erb within layouts/application (549.5ms)
2012-02-16T18:07:31+00:00 app[web.1]: Completed 500 Internal Server Error in 554ms
2012-02-16T18:07:35+00:00 app[web.1]: ** [Airbrake] Success: Net::HTTPOK
2012-02-16T18:07:35+00:00 app[web.1]: ** [Airbrake] Environment Info: [Ruby: 1.9.2] [Rails: 3.1.1] [Env: staging]
2012-02-16T18:07:35+00:00 app[web.1]: <?xml version="1.0" encoding="UTF-8"?>
2012-02-16T18:07:35+00:00 app[web.1]: <notice>
2012-02-16T18:07:35+00:00 app[web.1]: ** [Airbrake] Response from Airbrake:
2012-02-16T18:07:35+00:00 app[web.1]: <error-id type="integer">36462061</error-id>
2012-02-16T18:07:35+00:00 app[web.1]: <url>http://abriiz.airbrake.io/errors/36462061/notices/4426681293</url>
2012-02-16T18:07:35+00:00 app[web.1]: </notice>
2012-02-16T18:07:35+00:00 app[web.1]: <id type="integer">4426681293</id>
2012-02-16T18:07:35+00:00 app[web.1]:
2012-02-16T18:07:35+00:00 app[web.1]:
2012-02-16T18:07:35+00:00 app[web.1]: ActionView::Template::Error (undefined method `zip_code' for nil:NilClass):
2012-02-16T18:07:35+00:00 app[web.1]: 11: <% calendar_days.each do |day| %>
2012-02-16T18:07:35+00:00 app[web.1]: 12: <td class="<%= day.day_of_week %>">
2012-02-16T18:07:35+00:00 app[web.1]: 13: <figure class='weather'>
2012-02-16T18:07:35+00:00 app[web.1]: 14: <div class='report <%= day.weather.category_for :forecast_condition %>' title='<%= day.weather.forecast_condition %>'><%= day.weather.forecast_condition %></div>
2012-02-16T18:07:35+00:00 app[web.1]: 15: <figcaption class='temperature'><%= day.weather.display_temperatures %></figcaption>
2012-02-16T18:07:35+00:00 app[web.1]: 16: </figure>
2012-02-16T18:07:35+00:00 app[web.1]: 17: </td>
2012-02-16T18:07:35+00:00 app[web.1]: app/models/calendar_day.rb:60:in `weather'
2012-02-16T18:07:35+00:00 app[web.1]: app/views/calendars/_weather.html.erb:14:in `block in _app_views_calendars__weather_html_erb___3749709667024128587_59634680'
2012-02-16T18:07:35+00:00 app[web.1]: app/views/calendars/_weather.html.erb:11:in `_app_views_calendars__weather_html_erb___3749709667024128587_59634680'
2012-02-16T18:07:35+00:00 app[web.1]: app/views/calendars/_weather.html.erb:11:in `each'
2012-02-16T18:07:35+00:00 app[web.1]:
2012-02-16T18:07:35+00:00 app[web.1]: app/views/calendars/_calendar.html.erb:12:in `_app_views_calendars__calendar_html_erb___1372479954841783515_59428680'
2012-02-16T18:07:35+00:00 app[web.1]: app/views/calendars/show.html.erb:9:in `_app_views_calendars_show_html_erb__1353191485031089442_58455340'
2012-02-16T18:07:35+00:00 app[web.1]:
2012-02-16T18:07:35+00:00 app[web.1]: cache: [GET /patients/307-bloberta/calendar] miss
2012-02-16T18:07:35+00:00 heroku[router]: GET abriiz-staging.herokuapp.com/patients/307-bloberta/calendar dyno=web.1 queue=0 wait=0ms service=4542ms status=500 bytes=498
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]: Started POST "/users/login" for 107.5.192.86 at 2012-02-16 18:07:43 +0000
2012-02-16T18:07:43+00:00 app[web.1]: Processing by Devise::SessionsController#create as HTML
2012-02-16T18:07:43+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"UkIlqDZPIi/adszrEz1TADsGdUAEB3dmR0j8JHszIiI=", "user"=>{"username"=>"test213", "password"=>"[FILTERED]"}}
2012-02-16T18:07:43+00:00 app[web.1]: Redirected to http://abriiz-staging.herokuapp.com/patients/default
2012-02-16T18:07:43+00:00 app[web.1]: Completed 302 Found in 70ms
2012-02-16T18:07:43+00:00 app[web.1]: cache: [POST /users/login] invalidate, pass
2012-02-16T18:07:43+00:00 heroku[router]: POST abriiz-staging.herokuapp.com/users/login dyno=web.1 queue=0 wait=0ms service=85ms status=302 bytes=124
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]: Started GET "/patients/default" for 107.5.192.86 at 2012-02-16 18:07:43 +0000
2012-02-16T18:07:43+00:00 app[web.1]: Processing by PatientsController#default as HTML
2012-02-16T18:07:43+00:00 app[web.1]: Redirected to http://abriiz-staging.herokuapp.com/patients/300-morgan/calendar
2012-02-16T18:07:43+00:00 app[web.1]: Completed 302 Found in 9ms
2012-02-16T18:07:43+00:00 app[web.1]: cache: [GET /patients/default] miss
2012-02-16T18:07:43+00:00 heroku[router]: GET abriiz-staging.herokuapp.com/patients/default dyno=web.1 queue=0 wait=0ms service=35ms status=302 bytes=133
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]: Processing by CalendarsController#show as HTML
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]: Started GET "/patients/300-morgan/calendar" for 107.5.192.86 at 2012-02-16 18:07:43 +0000
2012-02-16T18:07:43+00:00 app[web.1]: Parameters: {"patient_id"=>"300-morgan"}
2012-02-16T18:07:43+00:00 app[web.1]: Rendered patients/_patients.html.erb (6.0ms)
2012-02-16T18:07:43+00:00 app[web.1]: Rendered calendars/show.html.erb within layouts/application (6.4ms)
2012-02-16T18:07:43+00:00 app[web.1]: Completed 500 Internal Server Error in 10ms
2012-02-16T18:07:43+00:00 app[web.1]: ActionView::Template::Error (Couldn't find Patient with id=300 [WHERE "patients"."user_id" = 8]):
2012-02-16T18:07:43+00:00 app[web.1]: 2: <% if current_user.patients.count <= 2 %>
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]: 3: <%= render :partial => "patients/patient", :collection => current_user.patients.sort %>
2012-02-16T18:07:43+00:00 app[web.1]: 4: <% else %>
2012-02-16T18:07:43+00:00 app[web.1]: 5: <%= render :partial => "patients/patient_select", :locals => {:patient => current_patient } %>
2012-02-16T18:07:43+00:00 app[web.1]: 7: </div>
2012-02-16T18:07:43+00:00 app[web.1]: 6: <% end %>
2012-02-16T18:07:43+00:00 app[web.1]: app/controllers/application_controller.rb:99:in `current_patient'
2012-02-16T18:07:43+00:00 app[web.1]: app/views/patients/_patients.html.erb:5:in `_app_views_patients__patients_html_erb__917812472908809952_55918440'
2012-02-16T18:07:43+00:00 app[web.1]: app/views/calendars/show.html.erb:4:in `_app_views_calendars_show_html_erb__1353191485031089442_55871420'
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]:
2012-02-16T18:07:43+00:00 app[web.1]: cache: [GET /patients/300-morgan/calendar] miss
2012-02-16T18:07:43+00:00 heroku[router]: GET abriiz-staging.herokuapp.com/patients/300-morgan/calendar dyno=web.1 queue=0 wait=0ms service=24ms status=404 bytes=437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment