Active Record Validations : uniqueness of
Posted
by Elliot
on Stack Overflow
See other posts from Stack Overflow
or by Elliot
Published on 2010-06-10T00:48:35Z
Indexed on
2010/06/10
0:52 UTC
Read the original article
Hit count: 553
ruby-on-rails
|ruby
Hey guys,
I'm using http://ar.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#M000086 to validate records.
My form is currently a remote form, using RJS. My question, is how to I return the :message (for errors) to the page through ajax (and I assume the create.rjs file)?
Best, Elliot
© Stack Overflow or respective owner