Skip to content

Instantly share code, notes, and snippets.

@sbounmy
Created February 2, 2012 02:34
Show Gist options
  • Save sbounmy/1721027 to your computer and use it in GitHub Desktop.
Save sbounmy/1721027 to your computer and use it in GitHub Desktop.
/Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1106:in `async_exec': PGError: ERROR: relation "spree_activators" does not exist (ActiveRecord::StatementInvalid)
LINE 4: WHERE a.attrelid = '"spree_activators"'::regcla...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"spree_activators"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1106:in `exec_no_cache'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:650:in `block in exec_query'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:649:in `exec_query'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:1231:in `column_definitions'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:845:in `columns'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/model_schema.rb:228:in `yield'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/model_schema.rb:228:in `default'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/model_schema.rb:228:in `columns'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/model_schema.rb:237:in `columns_hash'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/inheritance.rb:19:in `descends_from_active_record?'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/inheritance.rb:25:in `finder_needs_type_condition?'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/base.rb:452:in `relation'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/scoping/named.rb:37:in `scoped'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activerecord-3.2.1/lib/active_record/querying.rb:9:in `where'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/bundler/gems/spree-e6c8f210a43c/promo/app/models/spree/promotion.rb:9:in `<class:Promotion>'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/bundler/gems/spree-e6c8f210a43c/promo/app/models/spree/promotion.rb:2:in `<module:Spree>'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/bundler/gems/spree-e6c8f210a43c/promo/app/models/spree/promotion.rb:1:in `<top (required)>'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:469:in `load'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:469:in `block in load_file'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:639:in `new_constants_in'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:468:in `load_file'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:353:in `require_or_load'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:502:in `load_missing_constant'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:192:in `block in const_missing'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:190:in `each'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:190:in `const_missing'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/bundler/gems/spree-e6c8f210a43c/promo/lib/spree/promo/engine.rb:45:in `block in <class:Engine>'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/stephane/code/mystore/config/environment.rb:5:in `<top (required)>'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/application.rb:103:in `require_environment!'
from /Users/stephane/.rvm/gems/ruby-1.9.2-p0@gstyle/gems/railties-3.2.1/lib/rails/commands.rb:25:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment