Sha256: d26fcd8278bab27965606cd9a1df5ec4f97e2a8ff0e9444d42cb96f764559c84

Contents?: true

Size: 280 Bytes

Versions: 187

Compression:

Stored size: 280 Bytes

Contents

require "active_model"
require "rails"

module ActiveModel
  class Railtie < Rails::Railtie # :nodoc:
    config.eager_load_namespaces << ActiveModel

    initializer "active_model.secure_password" do
      ActiveModel::SecurePassword.min_cost = Rails.env.test?
    end
  end
end

Version data entries

187 entries across 179 versions & 12 rubygems

Version Path
activemodel-5.0.6.rc1 lib/active_model/railtie.rb
activemodel-5.1.3 lib/active_model/railtie.rb
activemodel-5.1.3.rc3 lib/active_model/railtie.rb
activemodel-5.0.5 lib/active_model/railtie.rb
activemodel-5.0.5.rc2 lib/active_model/railtie.rb
activemodel-5.1.3.rc2 lib/active_model/railtie.rb
activemodel-5.0.5.rc1 lib/active_model/railtie.rb
activemodel-5.1.3.rc1 lib/active_model/railtie.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/activemodel-5.0.2/lib/active_model/railtie.rb
tdiary-5.0.5 vendor/bundle/gems/activemodel-5.0.2/lib/active_model/railtie.rb
tdiary-5.0.5 vendor/bundle/gems/activemodel-5.1.2/lib/active_model/railtie.rb
activemodel-5.1.2 lib/active_model/railtie.rb
activemodel-4.2.9 lib/active_model/railtie.rb
activemodel-5.1.2.rc1 lib/active_model/railtie.rb
activemodel-4.2.9.rc2 lib/active_model/railtie.rb
activemodel-5.0.4 lib/active_model/railtie.rb
activemodel-5.0.4.rc1 lib/active_model/railtie.rb
activemodel-4.2.9.rc1 lib/active_model/railtie.rb
activemodel-5.1.1 lib/active_model/railtie.rb
activemodel-5.0.3 lib/active_model/railtie.rb