Sha256: 395f4b3d0679261290ebc155c949f90a6f9a3be39c462932009faf4955b7855d

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

require 'active_record'

$LOAD_PATH.unshift(File.dirname(__FILE__))

module ConfirmedAttributes
  if defined?(ActiveRecord::Base)
    require "confirmed_attributes/version"
    require "confirmed_attributes/confirmable"
    require "confirmed_attributes/control"

    ActiveRecord::Base.extend ConfirmedAttributes::Confirmable
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
confirmed_attributes-0.2.0 lib/confirmed_attributes.rb
confirmed_attributes-0.1.0 lib/confirmed_attributes.rb