Skip to content

Instantly share code, notes, and snippets.

View glajman's full-sized avatar

Vladimir Hadžić glajman

  • Beograd, Serbia
View GitHub Profile
vagrant@vagrant-ubuntu-trusty-64:~/rg$ bundle exec rspec spec/controllers/patron_controller_spec.rb
An error occurred while loading ./spec/controllers/patron_controller_spec.rb.
Failure/Error: scope :find_by_name, ->(name) { where( name: name ) }
ActiveRecord::StatementInvalid:
Mysql2::Error: Table 'bctest.click_trackers' doesn't exist: SHOW FULL FIELDS FROM `click_trackers`
# ./vendor/bundle/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query'
# ./vendor/bundle/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute'
# ./vendor/bundle/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'