Sha256: c6b9cfdb1f2dfb2cc03cd8d16a22a617a43a3b2ab666ba02a5775b58f4011810
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
require 'active_support/concern' module ExistingTimestamp extend ActiveSupport::Concern class_methods do private def timestamp_attributes_for_create ["created"] end def timestamp_attributes_for_update ["modified"] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postfix_admin-0.3.2 | lib/postfix_admin/models/concerns/existing_timestamp.rb |
postfix_admin-0.3.1 | lib/postfix_admin/models/concerns/existing_timestamp.rb |