Method: ActiveRecord::TableMetadata#initialize
- Defined in:
- lib/active_record/table_metadata.rb
#initialize(klass, arel_table, association = nil) ⇒ TableMetadata
Returns a new instance of TableMetadata.
6 7 8 9 10 |
# File 'lib/active_record/table_metadata.rb', line 6 def initialize(klass, arel_table, association = nil) @klass = klass @arel_table = arel_table @association = association end |