Class: ActsAsRelatable::Relationship
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ActsAsRelatable::Relationship
- Defined in:
- lib/acts_as_relatable/relationship.rb
Class Method Summary collapse
-
.make_between(relator, related, bothsided = true) ⇒ Object
This method relates two object together.
Class Method Details
.make_between(relator, related, bothsided = true) ⇒ Object
This method relates two object together
13 14 15 |
# File 'lib/acts_as_relatable/relationship.rb', line 13 def self.make_between(relator, , bothsided=true) relator.relates_to!(, bothsided) end |