Sha256: 89537fe1564c32895824fc138b132bef91ee2f8bf99e85e6f972bd348ae9b4de

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

require "active_model"
require "quails"

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-on-quails-0.1.0 activemodel/lib/active_model/railtie.rb