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-4.2.11.3 lib/active_model/railtie.rb
activemodel-4.2.11.2 lib/active_model/railtie.rb
activemodel-5.1.7 lib/active_model/railtie.rb
activemodel-5.1.7.rc1 lib/active_model/railtie.rb
activemodel-5.1.6.2 lib/active_model/railtie.rb
activemodel-5.0.7.2 lib/active_model/railtie.rb
activemodel-4.2.11.1 lib/active_model/railtie.rb
activemodel-5.1.6.1 lib/active_model/railtie.rb
activemodel-5.0.7.1 lib/active_model/railtie.rb
activemodel-4.2.11 lib/active_model/railtie.rb
activemodel-5.1.6 lib/active_model/railtie.rb
activemodel-5.0.7 lib/active_model/railtie.rb
tdiary-5.0.8 vendor/bundle/gems/activemodel-5.1.5/lib/active_model/railtie.rb
activemodel-5.1.5 lib/active_model/railtie.rb
activemodel-5.1.5.rc1 lib/active_model/railtie.rb
activemodel-4.2.10 lib/active_model/railtie.rb
activemodel-4.2.10.rc1 lib/active_model/railtie.rb
activemodel-5.1.4 lib/active_model/railtie.rb
activemodel-5.0.6 lib/active_model/railtie.rb
activemodel-5.1.4.rc1 lib/active_model/railtie.rb