Ruby on Rails
Monday, June 2, 2014
My question is about AR transactions feature. Is it thread safe?
-- Is it safe to use both `ActiveRecord::Base.transaction do ...` and `Account.transaction do ...` statements?
I plan to use Puma as web server, and Sidekiq for background processing.
Is there some tricks I should know about?
Thanks!
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/0db5f9ac-b45d-4784-83b3-64a277abb762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment