You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActionView::Template::Error: Mysql2::Error: Unknown column 'entries.consultant' in 'where clause': SELECT entries.* FROM entries WHERE (entries.delivery_date BETWEEN '2018-01-01 00:00:00' AND '2018-12-31 23:59:59') AND (entries.consultant != 1
#25
Open
rollbarbot opened this issue
Jan 13, 2018
· 0 comments
Mysql2::Error: Unknown column 'entries.consultant' in 'where clause'
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb", line 120, in _query
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb", line 120, in block in query
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb", line 119, in handle_interrupt
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/mysql2-0.4.5/lib/mysql2/client.rb", line 119, in query
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb", line 218, in block in execute
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_adapter.rb", line 589, in block in log
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_adapter.rb", line 583, in log
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb", line 218, in execute
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb", line 31, in execute
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb", line 225, in execute_and_free
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb", line 36, in exec_query
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb", line 373, in select
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb", line 41, in select_all
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract/query_cache.rb", line 93, in block in select_all
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract/query_cache.rb", line 108, in cache_sql
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/abstract/query_cache.rb", line 93, in select_all
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/connection_adapters/mysql/database_statements.rb", line 10, in select_all
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/querying.rb", line 39, in find_by_sql
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/relation.rb", line 702, in exec_queries
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/relation.rb", line 583, in load
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/relation.rb", line 260, in records
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activerecord-5.0.1/lib/active_record/relation/delegation.rb", line 38, in collect
File "/Users/thomaskuhnert/develop/zelos/app/views/admin/summaries/_tree.html.haml", line 41, in block in _app_views_admin_summaries__tree_html_haml___2888289698663307470_70157953755220
File "/Users/thomaskuhnert/develop/zelos/app/views/admin/summaries/_tree.html.haml", line 29, in each
File "/Users/thomaskuhnert/develop/zelos/app/views/admin/summaries/_tree.html.haml", line 29, in each_with_index
File "/Users/thomaskuhnert/develop/zelos/app/views/admin/summaries/_tree.html.haml", line 29, in _app_views_admin_summaries__tree_html_haml___2888289698663307470_70157953755220
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/template.rb", line 159, in block in render
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activesupport-5.0.1/lib/active_support/notifications.rb", line 166, in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/template.rb", line 354, in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/template.rb", line 157, in render
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/renderer/partial_renderer.rb", line 343, in render_partial
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/renderer/partial_renderer.rb", line 311, in block in render
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/renderer/abstract_renderer.rb", line 42, in block in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activesupport-5.0.1/lib/active_support/notifications.rb", line 164, in block in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activesupport-5.0.1/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activesupport-5.0.1/lib/active_support/notifications.rb", line 164, in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/renderer/abstract_renderer.rb", line 41, in instrument
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/renderer/partial_renderer.rb", line 310, in render
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/renderer/renderer.rb", line 47, in render_partial
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/helpers/rendering_helper.rb", line 35, in render
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb", line 10, in block in render_with_haml
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/haml-4.0.7/lib/haml/helpers.rb", line 89, in non_haml
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb", line 10, in render_with_haml
File "/Users/thomaskuhnert/develop/zelos/app/views/admin/summaries/index.html.haml", line 4, in _app_views_admin_summaries_index_html_haml___4254615560744086262_70158018734040
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/actionview-5.0.1/lib/action_view/template.rb", line 159, in block in render
File "/Users/thomaskuhnert/.rvm/gems/ruby-2.2.5/gems/activesupport-5.0.1/lib/active_support/notifications.rb", line 166, in instrument
File "/Users/thomaskuhnert/.rvm/gem
The text was updated successfully, but these errors were encountered:
View details in Rollbar: https://rollbar.com/spielhoelle/zelos/items/25/
The text was updated successfully, but these errors were encountered: