Sha256: 8924e10a01051c44a892b8d119c1b2198dc4f9a3553d860f2ecac053209e342c

Contents?: true

Size: 216 Bytes

Versions: 10

Compression:

Stored size: 216 Bytes

Contents

module ActsAsApprovable
  class Railtie < Rails::Railtie
    initializer 'acts_as_approvable.configure_rails_initialization' do |app|
      ActiveRecord::Base.send :include, ActsAsApprovable::Model
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
acts-as-approvable-0.6.7 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.6 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.5 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.4 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.3.3 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.3.2 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.3.1 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.3 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.2 lib/acts_as_approvable/railtie.rb
acts-as-approvable-0.6.1 lib/acts_as_approvable/railtie.rb