Updating the same record without change

In scaffold, if I click Edit and press Update without changing anything,
it still says record updated.
How can I check if user really updated something and didn't just press
Update?

check out
http://caboo.se/doc/classes/ActiveRecord/Dirty.html