Displaying 1 result from an estimated 1 matches for "searchreq".
Did you mean:
searchres
2005 Jul 23
11
Validation without ActiveRecord
Hello, I followed the instructions at
http://wiki.rubyonrails.com/rails/show/HowToUseValidationsWithoutExtendingActiveRecord
But now I''m having trouble trying to create my form view. Here''s a
brief rundown of what I''ve done:
- Created a class called SearchRequest that extends ValidatingBase and
saved it in a file called search_request.rb and put it in my models
directory.
- Added a ''request'' method to my controller that instantiates
SearchRequest and calls the valid? method
- Created a view called request.rhtml and saved it into app/vi...