module Superstore::Timestamp

Public Instance Methods

inherited(child) click to toggle source
Calls superclass method
# File lib/superstore/timestamp.rb, line 6
def inherited(child)
  super
  child.attribute :created_at, type: :time
  child.attribute :updated_at, type: :time
end