Method: MotionPrime::AssociationCollection#all
- Defined in:
- motion-prime/models/association_collection.rb
#all ⇒ Object Also known as: to_a
Return all association records.
@example:
project.users.all
59 60 61 62 63 |
# File 'motion-prime/models/association_collection.rb', line 59 def all data = bag.to_a set_inverse_relation_for(data) data end |