search for: parkassist

Displaying 1 result from an estimated 1 matches for "parkassist".

2009 Feb 21
2
ArgumentError on model create statement
...cs and still get the error. So, here is the current model: class Metric < ActiveRecord::Base end When I go into the console, and issue a simple "Metric.create" command I get the following error: >> Metric.create ArgumentError: wrong number of arguments (1 for 0) from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/callbacks.rb:288:in `callback'' from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/callbacks.rb:288:in `valid?'' from /src/parkassist/paseweb/vendor/rails/activerecord/lib/active_record/validations.rb:1008...