Displaying 1 result from an estimated 1 matches for "search_request".
Did you mean:
each_request
2005 Jul 23
11
Validation without ActiveRecord
...byonrails.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/views/home.
Even though my SearchRequest class has an accessor called fullname...