We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference http://stackoverflow.com/questions/18553013/wrong-number-of-arguments-when-calling-all-on-record-which-has-enum-attr
$ rake db:seed rake aborted! wrong number of arguments (2 for 1) REDACT/enumerated_attribute/lib/enumerated_attribute/integrations/active_record.rb:74:in `instantiate' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/querying.rb:45:in `block in find_by_sql' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/result.rb:21:in `block in each' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/result.rb:21:in `each' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/result.rb:21:in `each' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/querying.rb:45:in `map' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/querying.rb:45:in `find_by_sql' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/relation.rb:585:in `exec_queries' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/relation.rb:471:in `load' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/relation.rb:220:in `to_a' REDACT/db/seeds.rb:17:in `<top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:223:in `load' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:223:in `block in load' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in `load_dependency' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:223:in `load' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/railties-4.0.3/lib/rails/engine.rb:540:in `load_seed' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/tasks/database_tasks.rb:154:in `load_seed' /usr/local/rvm/gems/ruby-2.0.0-p353/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:181:in `block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => db:seed (See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
rails/rails@9bcb9cd#diff-3a78900604b345c3b1fec1156f23f43a
Sorry, something went wrong.
Rails 4; permit 2 arguments to ActiveRecord::Persistence::ClassMethod…
524f2f1
…s. Supports jeffp#66
No branches or pull requests
Reference http://stackoverflow.com/questions/18553013/wrong-number-of-arguments-when-calling-all-on-record-which-has-enum-attr
The text was updated successfully, but these errors were encountered: