Created
November 19, 2011 23:03
-
-
Save swalberg/1379502 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
ree-1.8.7-2011.03 :030 > PayrollRun.create | |
ArgumentError: wrong number of arguments (2 for 1) | |
from /Users/sean/.rvm/gems/ree-1.8.7-2011.03@rails31/gems/activerecord-3.1.2/lib/active_record/base.rb:508:in `initialize' | |
from /Users/sean/.rvm/gems/ree-1.8.7-2011.03@rails31/gems/activerecord-3.1.2/lib/active_record/base.rb:508:in `new' | |
from /Users/sean/.rvm/gems/ree-1.8.7-2011.03@rails31/gems/activerecord-3.1.2/lib/active_record/base.rb:508:in `create' | |
from (irb):30 | |
ree-1.8.7-2011.03 :031 > PayrollRun.new | |
=> #<PayrollRun id: nil, employer_id: nil, start: nil, finish: nil, created_at: nil, updated_at: nil, status: "pending"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment