Jeffrey L. Taylor wrote:
> Try 'obs[0].touch'.  Quoting the documentation at
> http://rails.rubyonrails.org/:

Jeffrey:  That's a great idea, but didn't work:

irb(main):034:0> PremiseObservation.count
=> 0
irb(main):035:0> obs.touch
=> false
irb(main):036:0> obs.save!
=> true
irb(main):037:0> PremiseObservation.count
=> 0

I've filed a ticket on this, either as an AR or a documentation bug. 
We'll see what the core team has to say about it.
-- 
Posted via http://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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to