Sha256: 0c9924524601f35f7ae34750e27eedc13f7b2e2d9e5f0732a0ea771b7b4e93b0

Contents?: true

Size: 219 Bytes

Versions: 4

Compression:

Stored size: 219 Bytes

Contents

module HasToken
  class Railtie < Rails::Railtie
    initializer "has_token" do |app|
      ActiveSupport.on_load :active_record do
        ::ActiveRecord::Base.extend HasToken::ActiveRecord
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
da-has_token-1.0.4 lib/da-has_token/railtie.rb
da-has_token-1.0.2 lib/da-has_token/railtie.rb
da-has_token-1.0.1 lib/da-has_token/railtie.rb
da-has_token-1.0.0 lib/has_token/railtie.rb