sry folks, i forgot to put up the  link, sry my bad :
http://ryandaigle.com/articles/2009/8/11/what-s-new-in-edge-rails-independent-model-validators
thx to Leonardo Mateo for answering, and i would like the next
response if it comes, to be a well explained one, i;m a RoR noob :( ,
like, if i put the code in the lib/ should i create a file or somentih
with that class, and how should i link it with the validator in my
model??

many thx yet again :) ,
radu

On Dec 15, 2:28 pm, Leonardo Mateo <[email protected]> wrote:
> On Tue, Dec 15, 2009 at 8:59 AM, radu puspana <[email protected]> wrote:
> > Greetings,
>
> > i came across this site, and i am trying to solve a problem..
> > Where the hell should this class go, in which dir/file of my app,
> > class EmailValidator < ActiveRecord::Validator
>
> lib/ would be just fine.
>
> > here is the link to the site so you can get the full picture(just the
> > first chunk of code)
>
> Where?
>
> --
> Leonardo Mateo.
> There's no place like ~

--

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