Is there a way to stop the automatic timestamping. I have a model that
has an updated_on field. Its great that it updates on save however
there is one operation i need to do that I dont want the updated_on
field to be set to the current time. Is there a way to stop this for
this one operation?
fyi, update/create_without_timestamps are private methods and should be
used
with caution [if at all]. a recent patch on edge removed a private
method
and when someone wrote a ticket about this, david said:
"The method is indeed a protected method and nodoc’ed to boot. In other
words, an internal, implementational detail. But sounds like people are
dipping into the forbidden cookie jar regardless. [ http://dev.rubyonrails.org/ticket/9086]
so I’d stick with the methodology i first mentioned. ymmv