Forum: Ruby on Rails form validation _without_ activerecord

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
36958dd94ca666a38483df282a5214d5?d=identicon&s=25 pertl (Guest)
on 2005-11-21 22:47
(Received via mailing list)
Hi guys!

I really like to form validation feature of ActiveRecord.

However, what is the most natural way in rails to form-validate
if you don't have a model?

Best regards
27c170f482104299af279902be0a9c26?d=identicon&s=25 trevor (Guest)
on 2005-11-21 23:31
(Received via mailing list)

validations are rather tightly integrated into ActiveRecord so
validations without a model might be quite a lot of work.

However, if you want a 'table-less' model, then railsweenie apparently
has the answer:


On 21-Nov-05, at 1:43 PM, Pete wrote:

> Rails mailing list
Trevor Squires
38f53ebf43385729eda5ff0d18483bd7?d=identicon&s=25 sross (Guest)
on 2005-11-22 07:54
(Received via mailing list)
I asked this question just a short while ago. You can read about it at:

I'm using the solution right now and it works great.

This topic is locked and can not be replied to.