A ‘many_to_many’ relation. This objects is associated with an other using an intermediate join table. Just an alias for ‘joins_many’.

Examples

  many_to_many Category
  many_to_many :categories, Category
Methods
Public Instance methods
resolve_polymorphic()
    # File lib/og/relation/many_to_many.rb, line 20
20:   def resolve_polymorphic
21:     target_class.module_eval %{
22:       many_to_many :#{owner_class.to_s.demodulize.underscore.pluralize}
23:     }
24:   end