Method: Arel::Table#hash

Defined in:
activerecord/lib/arel/table.rb

#hashObject



88
89
90
91
92
93
# File 'activerecord/lib/arel/table.rb', line 88

def hash
  # Perf note: aliases and table alias is excluded from the hash
  #  aliases can have a loop back to this table breaking hashes in parent
  #  relations, for the vast majority of cases @name is unique to a query
  @name.hash
end