Re: Re: Validations for non-ActiveRecord Model Objects

Rick Olson
Tue, 06 Dec 2005 04:26:29 -0000

On 12/5/05, Peter Donald
<peter.j.donald-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Hi,
>
> It turns out that there is a wiki page[1] that already describes this
> technique. Who knew? :) It is a little dated but I wish I had
wiki''ed
> before attempting this ;)
>
> [1]
http://wiki.rubyonrails.com/rails/pages/HowToUseValidationsWithoutExtendingActiveRecord

I knew about that, but my version doesn''t mess with rails as much. I
prefer my 3 lines to set it up vs changes in the dark corners of the
dispatcher libs.  YMMV


--
rick