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

On Jan 2, 3:09 am, Zhao Yi <[email protected]> wrote:
> I use observe_form to monitor all the fields in a form. But how can I
> get which field changed?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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