module ActiveRecord::MTI::Registry
Public Class Methods
[]=(klass, tableoid)
click to toggle source
# File lib/active_record/mti/registry.rb, line 8 def self.[]=(klass, tableoid) ActiveRecord::MTI.logger.debug "Adding #{klass} to MTI list with #{tableoid}" tableoids[klass] = tableoid end
find_mti_class(tableoid)
click to toggle source
# File lib/active_record/mti/registry.rb, line 13 def self.find_mti_class(tableoid) tableoids.key(tableoid) end
tableoid?(klass)
click to toggle source
# File lib/active_record/mti/registry.rb, line 17 def self.tableoid?(klass) tableoids[klass] end