Module: ObjectidColumns::ActiveRecord::Base::ClassMethods

Defined in:
lib/objectid_columns/active_record/base.rb

Instance Method Summary collapse

Instance Method Details

#has_objectid_columns?Boolean

Do we have any ObjectId columns? This is always false – once we include ObjectidColumns::HasObjectidColumns, its implementation (which just returns ‘true’) takes precedence.

Returns:

  • (Boolean)


18
19
20
# File 'lib/objectid_columns/active_record/base.rb', line 18

def has_objectid_columns?
  false
end