module ObjectidColumns::HasObjectidColumns::ClassMethods
Public Instance Methods
has_objectid_columns?()
click to toggle source
Does this class have any ObjectId columns? It does if this module has been included, since it only gets included if you declare an ObjectId column.
# File lib/objectid_columns/has_objectid_columns.rb, line 34 def has_objectid_columns? true end
objectid_columns_manager()
click to toggle source
# File lib/objectid_columns/has_objectid_columns.rb, line 42 def objectid_columns_manager @objectid_columns_manager ||= ::ObjectidColumns::ObjectidColumnsManager.new(self) end