Forum: Ruby on Rails form validation _without_ activerecord

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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
Peter
27c170f482104299af279902be0a9c26?d=identicon&s=25 trevor (Guest)
on 2005-11-21 23:31
(Received via mailing list)
Hi,

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:

  http://tinyurl.com/b9926

Regards,
Trevor


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

> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Trevor Squires
http://somethinglearned.com
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:

http://www.ruby-forum.com/topic/1559#1109

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

Steve
This topic is locked and can not be replied to.