1 2 3
ActionController::Base.consider_all_requests_local = true ActionController::Base.reload_dependencies = true ActiveRecord::Base.reload_associations = true