method

_find_record

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Persistence
_find_record(options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.