Forum: Ruby on Rails How to validate in_place_edit updates

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.
Nathan L. (Guest)
on 2006-05-18 01:12
(Received via mailing list)
Can anyone enlighten me on how to make in_place_edit fields go through
validations that are defined in the model?  For example, my customer
model has a "validates_numericality_of phone", but when the
in_place_edit is done you can enter whatever you want.  The field is
defined as a string in the DB.  I can't change the database schema, due
to other constraints, so I need a programmatic way to accomplish this.

Thanks,
Nathan
This topic is locked and can not be replied to.