Skip to content

Instantly share code, notes, and snippets.

@GirlBossRush
Created February 8, 2012 20:46
Show Gist options
  • Save GirlBossRush/1773582 to your computer and use it in GitHub Desktop.
Save GirlBossRush/1773582 to your computer and use it in GitHub Desktop.
Weather execption
012-02-08T18:41:08+00:00 app[web.1]: Exception parsing
2012-02-08T18:41:08+00:00 app[web.1]: Position: 1365
2012-02-08T18:41:08+00:00 app[web.1]: Line: 1
2012-02-08T18:41:08+00:00 app[web.1]: Last 80 unconsumed characters:
2012-02-08T18:41:08+00:00 app[web.1]: <city data="Belfort, Franche-Comt?"/>):
2012-02-08T18:41:08+00:00 app[web.1]: 11: <% calendar_days.each do |day| %>
2012-02-08T18:41:08+00:00 app[web.1]: 12: <td class="<%= day.day_of_week %>">
2012-02-08T18:41:08+00:00 app[web.1]: 13: <figure class='weather'>
2012-02-08T18:41:08+00:00 app[web.1]: 15: <figcaption class='temperature'><%= day.weather.display_temperatures %></figcaption>
2012-02-08T18:41:08+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-08T18:41:08+00:00 app[web.1]: 16: </figure>
2012-02-08T18:41:08+00:00 app[web.1]: 17: </td>
2012-02-08T18:41:08+00:00 app[web.1]: app/models/weather_fetcher.rb:15:in `update'
2012-02-08T18:41:08+00:00 app[web.1]: app/models/weather.rb:73:in `for_zip_code_and_date'
2012-02-08T18:41:08+00:00 app[web.1]: app/models/calendar_day.rb:60:in `weather'
2012-02-08T18:41:08+00:00 app[web.1]: app/views/calendars/_weather.html.erb:14:in `block in _app_views_calendars__weather_html_erb__2164151055596802158_52589540'
2012-02-08T18:41:08+00:00 app[web.1]: app/views/calendars/_weather.html.erb:11:in `each'
2012-02-08T18:41:08+00:00 app[web.1]: app/views/calendars/_weather.html.erb:11:in `_app_views_calendars__weather_html_erb__2164151055596802158_52589540'
2012-02-08T18:41:08+00:00 app[web.1]: app/views/calendars/_calendar.html.erb:12:in `_app_views_calendars__calendar_html_erb___3426504009381920522_53412660'
2012-02-08T18:41:08+00:00 app[web.1]: app/views/calendars/show.html.erb:9:in `_app_views_calendars_show_html_erb___2644060863203078021_59260040'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment