Skip to content

Instantly share code, notes, and snippets.

@jthomp
Created November 21, 2013 19:45
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 jthomp/7588287 to your computer and use it in GitHub Desktop.
Save jthomp/7588287 to your computer and use it in GitHub Desktop.
ActionView::Template::Error (Table 'bubbletimer_development.time_slice' doesn't exist):
18: <th class='hour-divider' <%= hide_or_show(bt_start_hour, current_time.hour, bt_end_hour) %>>&nbsp;</th>
19: <th id="<%= time_header_id(current_time) %>"
20: class="time hour <%= hour_marker(current_time.hour) %> <%= time_for_hour(day.time_slices, current_time) %>"
21: <%= hide_or_show(bt_start_hour, current_time.hour, bt_end_hour) %>>
22: <span><%= user_time_display(current_time, @day.user) %></span>
23: </th>
24: <% else %>
activerecord-mysql2-adapter (0.0.3) lib/active_record/connection_adapters/mysql2_adapter.rb:263:in `query'
activerecord-mysql2-adapter (0.0.3) lib/active_record/connection_adapters/mysql2_adapter.rb:263:in `execute'
activerecord-mysql2-adapter (0.0.3) lib/active_record/connection_adapters/mysql2_adapter.rb:431:in `columns'
activerecord (3.0.20) lib/active_record/base.rb:685:in `columns'
activerecord (3.0.20) lib/active_record/base.rb:698:in `column_names'
activerecord (3.0.20) lib/active_record/relation/calculations.rb:187:in `aggregate_column'
activerecord (3.0.20) lib/active_record/relation/calculations.rb:199:in `execute_simple_calculation'
activerecord (3.0.20) lib/active_record/relation/calculations.rb:182:in `perform_calculation'
activerecord (3.0.20) lib/active_record/relation/calculations.rb:152:in `calculate'
activerecord (3.0.20) lib/active_record/relation/calculations.rb:147:in `calculate'
activerecord (3.0.20) lib/active_record/relation/calculations.rb:58:in `count'
activerecord (3.0.20) lib/active_record/base.rb:448:in `count'
activerecord (3.0.20) lib/active_record/associations/has_many_association.rb:41:in `count_records'
activerecord (3.0.20) lib/active_record/associations/association_collection.rb:302:in `size'
activerecord (3.0.20) lib/active_record/associations/association_collection.rb:321:in `empty?'
app/helpers/days_helper.rb:324:in `time_for_hour'
app/views/days/_time_row.html.erb:21:in `_app_views_days__time_row_html_erb___4401502887063491462_70101784417220_679658945276552630'
actionpack (3.0.20) lib/action_view/template.rb:135:in `block in render'
activesupport (3.0.20) lib/active_support/notifications.rb:54:in `instrument'
actionpack (3.0.20) lib/action_view/template.rb:127:in `render'
actionpack (3.0.20) lib/action_view/render/partials.rb:333:in `render_partial'
actionpack (3.0.20) lib/action_view/render/partials.rb:262:in `block in render'
activesupport (3.0.20) lib/active_support/notifications.rb:52:in `block in instrument'
activesupport (3.0.20) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.20) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.20) lib/action_view/render/partials.rb:260:in `render'
actionpack (3.0.20) lib/action_view/render/partials.rb:378:in `_render_partial'
actionpack (3.0.20) lib/action_view/render/rendering.rb:22:in `render'
app/views/days/_show.html.erb:20:in `_app_views_days__show_html_erb___3370166031037039458_70101810670900_3557557399190447512'
actionpack (3.0.20) lib/action_view/template.rb:135:in `block in render'
activesupport (3.0.20) lib/active_support/notifications.rb:54:in `instrument'
actionpack (3.0.20) lib/action_view/template.rb:127:in `render'
actionpack (3.0.20) lib/action_view/render/partials.rb:333:in `render_partial'
actionpack (3.0.20) lib/action_view/render/partials.rb:262:in `block in render'
activesupport (3.0.20) lib/active_support/notifications.rb:52:in `block in instrument'
activesupport (3.0.20) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.20) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.20) lib/action_view/render/partials.rb:260:in `render'
actionpack (3.0.20) lib/action_view/render/partials.rb:378:in `_render_partial'
actionpack (3.0.20) lib/action_view/render/rendering.rb:22:in `render'
actionpack (3.0.20) lib/abstract_controller/rendering.rb:115:in `_render_template'
actionpack (3.0.20) lib/abstract_controller/rendering.rb:109:in `render_to_body'
actionpack (3.0.20) lib/action_controller/metal/renderers.rb:47:in `render_to_body'
actionpack (3.0.20) lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
actionpack (3.0.20) lib/abstract_controller/rendering.rb:102:in `render_to_string'
actionpack (3.0.20) lib/abstract_controller/rendering.rb:93:in `render'
actionpack (3.0.20) lib/action_controller/metal/rendering.rb:17:in `render'
actionpack (3.0.20) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
activesupport (3.0.20) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/Users/jthomp/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
activesupport (3.0.20) lib/active_support/core_ext/benchmark.rb:5:in `ms'
actionpack (3.0.20) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
actionpack (3.0.20) lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
activerecord (3.0.20) lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
actionpack (3.0.20) lib/action_controller/metal/instrumentation.rb:39:in `render'
app/controllers/days_controller.rb:59:in `block (2 levels) in show'
actionpack (3.0.20) lib/action_controller/metal/mime_responds.rb:192:in `call'
actionpack (3.0.20) lib/action_controller/metal/mime_responds.rb:192:in `respond_to'
app/controllers/days_controller.rb:58:in `show'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment