Created
March 29, 2012 19:03
-
-
Save kevinzen/2242173 to your computer and use it in GitHub Desktop.
Stack trace - FactoryGirl 3.0
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
a = FactoryGirl.build :practitioner_activity, start_hour: 1, end_hour: 1, start_minute: 1 | |
ArgumentError: wrong number of arguments (1 for 0) | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/activerecord-3.2.2/lib/active_record/callbacks.rb:267:in `create' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/evaluator.rb:53:in `method_missing' | |
from /Users/dmcadmin/work/dmWorkflow/spec/factories.rb:39:in `block (3 levels) in <top (required)>' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute/dynamic.rb:13:in `instance_exec' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute/dynamic.rb:13:in `block in to_proc' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/evaluator_class_definer.rb:29:in `instance_exec' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/evaluator_class_definer.rb:29:in `block in define_attribute' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute_assigner.rb:36:in `get' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute_assigner.rb:14:in `block (2 levels) in object' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute_assigner.rb:13:in `each' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute_assigner.rb:13:in `block in object' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute_assigner.rb:12:in `tap' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/attribute_assigner.rb:12:in `object' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/strategy/build.rb:9:in `result' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/factory.rb:38:in `run' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/factory_runner.rb:21:in `run' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/factory_girl-3.0.0/lib/factory_girl/syntax/methods.rb:40:in `build' | |
from (irb):9 | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/railties-3.2.2/lib/rails/commands/console.rb:47:in `start' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/railties-3.2.2/lib/rails/commands/console.rb:8:in `start' | |
from /Users/dmcadmin/.rvm/gems/ruby-1.9.2-p290@dmworkflow/gems/railties-3.2.2/lib/rails/commands.rb:41:in `<top (required)>' | |
from script/rails:6:in `require' | |
from script/rails:6:in `<main>'1.9.2p290 :010 > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment