Skip to content
This repository
Newer
Older
100644 12 lines (10 sloc) 0.28 kb
e749424d » Carl Lerche
2009-12-31 Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb
1 require "active_model"
2801786e » josevalim
2012-08-01 Get rid of config.preload_frameworks in favor of config.eager_load_na…
2 require "rails"
3
4 module ActiveModel
c9a88a2c » frodsan
2012-10-21 minor edits in AM documentation [ci skip]
5 class Railtie < Rails::Railtie # :nodoc:
2801786e » josevalim
2012-08-01 Get rid of config.preload_frameworks in favor of config.eager_load_na…
6 config.eager_load_namespaces << ActiveModel
06faa6da » trevorturk
2012-11-14 Use BCrypt's MIN_COST in the test environment for speedier tests
7
8 initializer "active_model.secure_password" do
9 ActiveModel::SecurePassword.min_cost = Rails.env.test?
10 end
2801786e » josevalim
2012-08-01 Get rid of config.preload_frameworks in favor of config.eager_load_na…
11 end
c9a88a2c » frodsan
2012-10-21 minor edits in AM documentation [ci skip]
12 end
Something went wrong with that request. Please try again.