module Rethinker::Document::Timestamps::ClassMethods

Public Instance Methods

disable_timestamps() click to toggle source
# File lib/rethinker/document/timestamps.rb, line 13
def disable_timestamps
  self.remove_field :created_at
  self.remove_field :updated_at
end