Note that there are some explanatory texts on larger screens.

plurals
  1. POthorough guide to Locks/Transactions/Isolation Levels in Rails
    primarykey
    data
    text
    <p>Is there a good tutorial/guide/blog post/book chapter/screencast/etc that attempts to comprehensively cover everything having to do with locks, transactions, and isolation levels in ActiveRecord? (preferably relevant to Rails 4.0)</p> <p>There's a brief section in the guides, and of course some API docs, but it's a really important and (for me) hard-to-understand domain, and it's my first time trying to take data integrity seriously in my Rails app. I'd like to get a good understanding so I can do it properly.</p> <p><strong>List of Known Resources</strong></p> <ul> <li><a href="http://guides.rubyonrails.org/active_record_querying.html#locking-records-for-update">http://guides.rubyonrails.org/active_record_querying.html#locking-records-for-update</a></li> <li><a href="http://api.rubyonrails.org/classes/ActiveRecord/Locking/Optimistic.html">http://api.rubyonrails.org/classes/ActiveRecord/Locking/Optimistic.html</a></li> <li><a href="http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html">http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html</a></li> <li><a href="http://api.rubyonrails.org/classes/ActiveRecord/Transactions.html">http://api.rubyonrails.org/classes/ActiveRecord/Transactions.html</a></li> <li><a href="https://github.com/rails/rails/commit/392eeecc11a291e406db927a18b75f41b2658253">https://github.com/rails/rails/commit/392eeecc11a291e406db927a18b75f41b2658253</a> ("Support for specifying transaction isolation level" commit -> Rails 4.0)</li> <li><a href="http://railscasts.com/episodes/59-optimistic-locking-revised">http://railscasts.com/episodes/59-optimistic-locking-revised</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload