Method: Torque::PostgreSQL::Reflection#create

Defined in:
lib/torque/postgresql/reflection.rb

#create(macro, name, scope, options, ar) ⇒ Object



14
15
16
17
# File 'lib/torque/postgresql/reflection.rb', line 14

def create(macro, name, scope, options, ar)
  return super unless macro.eql?(:belongs_to_many)
  BelongsToManyReflection.new(name, scope, options, ar)
end