Forum: Ruby on Rails How to get which field changed in observe_form helper

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.
Zhao Y. (Guest)
on 2009-01-02 10:09
I use observe_form to monitor all the fields in a form. But how can I
get which field changed?
pepe (Guest)
on 2009-01-03 20:03
(Received via mailing list)
You could save the form values to a session or flash and compare to
the values from the form delivered by observe_form. This would be
especially easy if the form is based on an object.

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