Module: Torque::PostgreSQL::Reflection
- Included in:
- Torque::PostgreSQL
- Defined in:
- lib/torque/postgresql/reflection.rb,
lib/torque/postgresql/reflection/runtime_reflection.rb,
lib/torque/postgresql/reflection/through_reflection.rb,
lib/torque/postgresql/reflection/abstract_reflection.rb,
lib/torque/postgresql/reflection/has_many_reflection.rb,
lib/torque/postgresql/reflection/association_reflection.rb,
lib/torque/postgresql/reflection/belongs_to_many_reflection.rb
Defined Under Namespace
Modules: AbstractReflection, AssociationReflection, HasManyReflection, RuntimeReflection, ThroughReflection Classes: BelongsToManyReflection
Instance Method Summary collapse
Instance Method Details
#create(macro, name, scope, options, ar) ⇒ Object
12 13 14 15 |
# File 'lib/torque/postgresql/reflection.rb', line 12 def create(macro, name, scope, , ar) return super unless macro.eql?(:belongs_to_many) BelongsToManyReflection.new(name, scope, , ar) end |