has_many(name, scope = nil, options = {}, &extension)
Instance Public methods
Specifies a one-to-many association. The following methods for retrieval
and query of collections of associated objects will be added:
collection(force_reload = false)
Returns an array of all the associated objects. An empty array is returned
if none are found.
collection<<(object, â¦)
Adds one or more objects to the collection by setting their foreign keys to
the collection's primary key.