Module | ActiveModel::Transitions |
In: |
lib/active_model/transitions.rb
|
The optional options argument is passed to find when reloading so you may do e.g. record.reload(:lock => true) to reload the same record with an exclusive row lock.