method

_in_memory_query_constraints_hash

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::Persistence
_in_memory_query_constraints_hash() 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 1164
    def _in_memory_query_constraints_hash
      if self.class.query_constraints_list.nil?
        { @primary_key => id }
      else
        self.class.query_constraints_list.index_with do |column_name|
          attribute(column_name)
        end
      end
    end
Register or log in to add new notes.