Skip to content

Instantly share code, notes, and snippets.

@jtperreault
Created September 8, 2014 17:28
Show Gist options
  • Save jtperreault/63f3ae72dd8510b29741 to your computer and use it in GitHub Desktop.
Save jtperreault/63f3ae72dd8510b29741 to your computer and use it in GitHub Desktop.
be rake db:migrate
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/james/Code/CCE/Rakefile:9)
Connecting to database specified by database.yml
** vote_fu: initialized properly.
DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:Feedback> at /Users/james/Code/CCE/app/models/feedback.rb:5)
PG::UndefinedTable: ERROR: relation "feedback" does not exist
LINE 5: WHERE a.attrelid = '"feedback"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"feedback"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "feedback" does not exist
LINE 5: WHERE a.attrelid = '"feedback"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"feedback"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment