method
_find_record
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Persistence
_find_record(options)private
No documentation available.
# File activerecord/lib/active_record/persistence.rb, line 1017
def _find_record(options)
if options && options[:lock]
self.class.preload(strict_loaded_associations).lock(options[:lock]).find(id)
else
self.class.preload(strict_loaded_associations).find(id)
end
end