Displaying 1 result from an estimated 1 matches for "optionalthingslikemessageandifblock".
Did you mean:
optionalthingslikemessageandifblocks
2006 Jun 29
1
Newbie: Help Please - Model Validation Error
Hi,
I''d be grateful for your help.
I get the error (see below) everytime I add the
following into a newly generated (via scaffold) model
class:
validates_presence_of :myname, :mymessage, :mytel
Without it, I can insert records into my database.
With it, I get the error :(
ERROR>>
ArgumentError in AdminController#create
wrong number of arguments (1 for 0)
RAILS_ROOT: