Sha256: f6b7778a58fc5b9c04c4da63603d1dde376210a0e655124b88c5519741567169
Contents?: true
Size: 522 Bytes
Versions: 10
Compression:
Stored size: 522 Bytes
Contents
require "record_history/version" require "record_history/record_history_model" require "record_history/controller" require "record_history/has_record_history" module RecordHistory @@config = {} def self.author=(value) config[:author] = value end def self.author config[:author] end private def self.config @@config end end ActiveSupport.on_load(:active_record) do include RecordHistory::Model end ActiveSupport.on_load(:action_controller) do include RecordHistory::Controller end
Version data entries
10 entries across 10 versions & 1 rubygems