search for: scaffolt

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

Did you mean: scaffold
2005 Mar 10
2
Newbie question - form validation
...e very simple weblog systeme. I know threre are plenty of them, but It''s good to study. I create following rule in models/post.rb validates_length_of :header, :in => 3..50, :allow_nil => false, :message => "At least 3 characters" It''s working fine with default scaffolt add form. Then I tryed to create own new.rhtml <?xml version="1.0" encoding="ISO-8859-2"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/...