Module: PaperTrail::ActiveRecordExt

Defined in:
lib/paper_trail/active_record.rb,
lib/paper_trail/active_record/version.rb,
lib/paper_trail/active_record/or_deleted.rb,
lib/paper_trail/active_record/configuration.rb,
lib/paper_trail/active_record/base_extensions.rb,
lib/paper_trail/active_record/version_extensions.rb

Defined Under Namespace

Modules: BaseExtensions, OrDeleted, VersionConcernExt Classes: Configuration

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



15
16
17
# File 'lib/paper_trail/active_record.rb', line 15

def configuration
  @configuration ||= Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



20
21
22
# File 'lib/paper_trail/active_record.rb', line 20

def configure
  yield config
end

.versionObject



3
4
5
# File 'lib/paper_trail/active_record/version.rb', line 3

def self.version
  "1.0.1"
end