Skip to content

Instantly share code, notes, and snippets.

@nolandc
Created September 10, 2013 01:23
Show Gist options
  • Save nolandc/6503839 to your computer and use it in GitHub Desktop.
Save nolandc/6503839 to your computer and use it in GitHub Desktop.
SQLite3::SQLException: table conversations has no column named deal_id: INSERT INTO "conversations" ("buyer_id", "conversationable_id", "conversationable_type", "created_at", "deal_id", "seller_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/sqlite3-1.3.8/lib/sqlite3/database.rb:91:in `initialize'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/sqlite3-1.3.8/lib/sqlite3/database.rb:91:in `new'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/sqlite3-1.3.8/lib/sqlite3/database.rb:91:in `prepare'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:253:in `block in exec_query'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:63:in `exec_insert'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `insert'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/relation.rb:66:in `insert'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/persistence.rb:367:in `create'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/timestamp.rb:58:in `create'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:268:in `block in create'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:403:in `_run__223937463284856055__create__205337919924521897__callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:268:in `create'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/persistence.rb:348:in `create_or_update'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:447:in `_run__223937463284856055__save__205337919924521897__callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/persistence.rb:104:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/validations.rb:56:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:264:in `block in save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:208:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:264:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/validations.rb:41:in `create!'
/Users/nolancarroll/dev/dormdeal/main/app/models/bid.rb:13:in `create_conversation_and_notification'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__3736163057192870548__create__205337919924521897__callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:268:in `create'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/persistence.rb:348:in `create_or_update'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:425:in `_run__3736163057192870548__save__205337919924521897__callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/callbacks.rb:264:in `create_or_update'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/persistence.rb:104:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/validations.rb:56:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:264:in `block in save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:208:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:264:in `save!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/has_many_association.rb:14:in `insert_record'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:436:in `block (2 levels) in create_record'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:344:in `add_to_target'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:434:in `block in create_record'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:149:in `block in transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/transactions.rb:208:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:148:in `transaction'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:433:in `create_record'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_association.rb:123:in `create!'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/associations/collection_proxy.rb:46:in `create!'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:66:in `block (3 levels) in <top (required)>'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:65:in `each'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:65:in `block (2 levels) in <top (required)>'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:54:in `each'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:54:in `block in <top (required)>'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:52:in `each'
/Users/nolancarroll/dev/dormdeal/main/db/seeds.rb:52:in `<top (required)>'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:245:in `load'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:245:in `block in load'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:245:in `load'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/railties-3.2.14/lib/rails/engine.rb:525:in `load_seed'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/railties/databases.rake:347:in `block (2 levels) in <top (required)>'
/Users/nolancarroll/dev/dormdeal/main/Rakefile:14:in `block (3 levels) in <top (required)>'
/Users/nolancarroll/dev/dormdeal/main/Rakefile:13:in `each'
/Users/nolancarroll/dev/dormdeal/main/Rakefile:13:in `block (2 levels) in <top (required)>'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
/Users/nolancarroll/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => db:seed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment