Sha256: 09adc52162d350434e589f9e3cad2b0f4d601caf797d979e134840a203ca7c6b

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

require 'rails'

module ActsAsFollower
  class Railtie < Rails::Railtie

    initializer "acts_as_follower.active_record" do |app|
      ActiveSupport.on_load :active_record do
        include ActsAsFollower::Follower
        include ActsAsFollower::Followable
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_follower1-1.0.9 lib/acts_as_follower/railtie.rb