module Mongoid::Relations::ClassMethods

Public Instance Methods

associations() click to toggle source

This is convenience for librarys still on the old API.

@example Get the associations.

Person.associations

@return [ Hash ] The relations.

@since 2.3.1

# File lib/mongoid/relations.rb, line 156
def associations
  self.relations
end