Sha256: ad00fdd91d1d3673e1493b6e9876b342dc961747cf7a6823b7d538f4ed3f790d

Contents?: true

Size: 157 Bytes

Versions: 2

Compression:

Stored size: 157 Bytes

Contents

module TwoFaced
  class Railtie < Rails::Railtie
    if defined?(ActiveRecord::Base)
      ActiveRecord::Base.send :extend, TwoFaced::Hook
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
two_faced-0.0.2 lib/two_faced/railtie.rb
two_faced-0.0.2.alpha lib/two_faced/railtie.rb