method
new
new(macro, name, options, active_record)
public
Hide source
# File activerecord/lib/active_record/reflection.rb, line 105 def initialize(macro, name, options, active_record) @macro = macro @name = name @options = options @active_record = active_record @plural_name = active_record.pluralize_table_names ? name.to_s.pluralize : name.to_s end