Method: Consort::ActiveRecord::Mongoid::ClassMethods#has_many_mongoids

Defined in:
lib/consort/active_record/mongoid.rb

#has_many_mongoids(klass) ⇒ Object

Deprecated.

Use #has_many_mongoid instead. Will be removed in 1.0.0.



36
37
38
39
# File 'lib/consort/active_record/mongoid.rb', line 36

def has_many_mongoids(klass)
  ActiveSupport::Deprecation.warn 'Please use the singular has_many_mongoid instead.'
  has_many_mongoid(klass)
end