Ruby on Rails Friday, January 30, 2015

On Friday, January 30, 2015 at 12:54:15 AM UTC+1, JDog wrote:
> I'm doing some wonky stuff  and I am at a point where I need to, in an after_save callback, modify some data and update an hstore column, but not trigger the save callback again. 
>
> What methods are available to me?
>
>

How about update_column(s) http://api.rubyonrails.org/classes/ActiveRecord/Persistence.html#method-i-update_columns ?

Fred

> Thank you!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1596c5fd-4cf7-46a9-bab0-3faf8d44109b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment