Created
March 19, 2013 15:47
-
-
Save isabanin/5197209 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArgumentError: wrong number of arguments (1 for 0) | |
from /Users/xxx/Projects/rails4_app/app/models/idea.rb:4:in `block (2 levels) in <class:Idea>' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/option_merger.rb:17:in `call' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activesupport-4.0.0.beta1/lib/active_support/option_merger.rb:17:in `block in method_missing' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:129:in `instance_exec' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:129:in `eval_scope' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:96:in `block (2 levels) in add_constraints' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:94:in `each' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:94:in `block in add_constraints' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:44:in `each' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:44:in `each_with_index' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:44:in `add_constraints' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association_scope.rb:19:in `scope' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association.rb:100:in `association_scope' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/association.rb:84:in `scope' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/collection_association.rb:359:in `scope' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/collection_proxy.rb:37:in `initialize' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/relation/delegation.rb:80:in `new' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/collection_association.rb:37:in `reader' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0.beta1/lib/active_record/associations/builder/association.rb:70:in `posts' | |
from (irb):3 | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/railties-4.0.0.beta1/lib/rails/commands/console.rb:88:in `start' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/railties-4.0.0.beta1/lib/rails/commands/console.rb:9:in `start' | |
from /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/railties-4.0.0.beta1/lib/rails/commands.rb:64:in `<top (required)>' | |
from bin/rails:4:in `require' | |
from bin/rails:4:in `<main>'irb(main):004:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment