All you'll need to do is inherit from the ModelWithoutDatabase. This
should allow you to do normal validations if needed.
for example:
class Contact < ModelWithoutDatabase
attr_accessors :first_name, :last_name, :email, etc...
def method1
do stuff
end
end
--
Posted via http://www.ruby-forum.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
-~----------~----~----~----~------~----~------~--~---