> -----Original Message-----
> From: [email protected] [mailto:rubyonrails-
> [email protected]] On Behalf Of Greg Donald
> Sent: Friday, March 27, 2009 5:11 PM
> To: [email protected]
> Subject: [Rails] Re: Forms without a database backend
> 
> You can validate an ActiveRecord object using valid?.
> 
> http://api.rubyonrails.org/classes/ActiveResource/Validations.html#M000
> 832
> 
> This will ensure any model validation you include are ran.
> 
> 

Thanks, but should I create an ActiveRecord model even though it shouldn't
be associated with a table?

Brandon


> --
> Greg Donald
> http://destiney.com/
> 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to