Sha256: 198e7b760aa2de3e94d4ce3a488b608c1ec8868abc64ccfabd0c5935db11fd42

Contents?: true

Size: 236 Bytes

Versions: 4

Compression:

Stored size: 236 Bytes

Contents

require 'partisan'
require 'rails'

module Partisan
  class Railtie < Rails::Railtie
    initializer "follows.active_record" do |app|
      ActiveSupport.on_load :active_record, {}, &Partisan.inject_into_active_record
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
partisan-0.2.3 lib/partisan/railtie.rb
partisan-0.2.2 lib/partisan/railtie.rb
partisan-0.2.1 lib/partisan/railtie.rb
partisan-0.2 lib/partisan/railtie.rb