Flowdock
method

collection?

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveRecord::Reflection::AssociationReflection
collection?() public

Returns whether or not this association reflection is for a collection association. Returns true if the macro is either has_many or has_and_belongs_to_many, false otherwise.

Show source
Register or log in to add new notes.