File tree 5 files changed +5
-15
lines changed 5 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 6
6
7
7
env :
8
8
- " RAILS_VERSION=3.2"
9
+ - " RAILS_VERSION=4.0"
9
10
- " RAILS_VERSION=master"
10
11
11
12
matrix :
12
13
allow_failures :
13
14
- env : " RAILS_VERSION=master"
14
15
exclude :
16
+ - rvm : 1.9.2
17
+ env : " RAILS_VERSION=4.0"
15
18
- rvm : 1.9.2
16
19
env : " RAILS_VERSION=master"
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ upgrade information.
21
21
MESSAGE
22
22
23
23
s . add_dependency 'rails' , '>= 3.2.0'
24
- s . add_dependency 'activeresource' , '>= 3.2.8'
25
24
s . add_dependency 'htmlentities'
26
25
s . add_development_dependency 'rspec-rails'
27
26
s . add_development_dependency 'sqlite3'
Original file line number Diff line number Diff line change 4
4
require "active_record/railtie"
5
5
require "action_controller/railtie"
6
6
require "action_mailer/railtie"
7
- require "active_resource/railtie"
8
7
require "sprockets/railtie"
9
- # require "rails/test_unit/railtie"
10
8
11
9
Bundler . require
12
10
require "griddler"
@@ -49,12 +47,6 @@ class Application < Rails::Application
49
47
# like if you have constraints or database-specific column types
50
48
# config.active_record.schema_format = :sql
51
49
52
- # Enforce whitelist mode for mass assignment.
53
- # This will create an empty whitelist of attributes available for mass-assignment for all models
54
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
55
- # parameters by using an attr_accessible or attr_protected declaration.
56
- config . active_record . whitelist_attributes = true
57
-
58
50
# Enable the asset pipeline
59
51
config . assets . enabled = true
60
52
Original file line number Diff line number Diff line change 22
22
# Only use best-standards-support built into browsers
23
23
config . action_dispatch . best_standards_support = :builtin
24
24
25
- # Raise exception on mass assignment protection for Active Record models
26
- config . active_record . mass_assignment_sanitizer = :strict
27
-
28
25
# Log the query plan for queries taking more than this (works
29
26
# with SQLite, MySQL, and PostgreSQL)
30
27
config . active_record . auto_explain_threshold_in_seconds = 0.5
Original file line number Diff line number Diff line change 7
7
# and recreated between test runs. Don't rely on the data there!
8
8
config . cache_classes = true
9
9
10
+ config . eager_load = false
11
+
10
12
# Configure static asset server for tests with Cache-Control for performance
11
13
config . serve_static_assets = true
12
14
config . static_cache_control = "public, max-age=3600"
29
31
# ActionMailer::Base.deliveries array.
30
32
config . action_mailer . delivery_method = :test
31
33
32
- # Raise exception on mass assignment protection for Active Record models
33
- config . active_record . mass_assignment_sanitizer = :strict
34
-
35
34
# Print deprecation notices to the stderr
36
35
config . active_support . deprecation = :stderr
37
36
end
You can’t perform that action at this time.
0 commit comments