Description:
upgrade to rails 4.2
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r620:2101ac88fe70 - - 8 files changed: 93 inserted, 68 deleted
@@ -0,0 +1,8 | |||
|
1 | + development: | |
|
2 | + secret_key_base: '444f426d08add8e2d7cbd76e2057e521e06091231eb4d5472af6ba5654ea1124ce6a636f549be6827ce09561c314181226ad840d44e4677e1077942ee0dc82bd' | |
|
3 | + | |
|
4 | + test: | |
|
5 | + secret_key_base: 'd52f411b06a79cc9f56d92e10d27e670cf0f0c3357e7caf9018ec23091b5c452ea9266c03a5c9e37b72c358702d4d460e957f90dcc553c9fc73a98adb520e781' | |
|
6 | + | |
|
7 | + production: | |
|
8 | + secret_key_base: '7f85485d3d652fc6336dfe3cd98917d9bd7a323b32096bf7635d26b98ccd0480816cc2d12b5c10805cecf7d8fb322104e2bda71eb60dd871c5c537e56a063038' |
@@ -1,35 +1,35 | |||
|
1 | 1 | source 'https://rubygems.org' |
|
2 | 2 | |
|
3 |
- gem 'rails', '~>4. |
|
|
3 | + gem 'rails', '~>4.2.0' | |
|
4 | 4 | gem 'activerecord-session_store' |
|
5 | 5 | |
|
6 | 6 | gem 'select2-rails' |
|
7 | 7 | |
|
8 | 8 | # Bundle edge Rails instead: |
|
9 | 9 | # gem 'rails', :git => 'git://github.com/rails/rails.git' |
|
10 | 10 | |
|
11 |
- gem 'mysql2' |
|
|
11 | + gem 'mysql2' | |
|
12 | 12 | |
|
13 | 13 | # Gems used only for assets and not required |
|
14 | 14 | # in production environments by default. |
|
15 | 15 | group :assets do |
|
16 | 16 | gem 'sass-rails' |
|
17 | 17 | gem 'coffee-rails' |
|
18 | 18 | |
|
19 | 19 | # See https://github.com/sstephenson/execjs#readme for more supported runtimes |
|
20 | 20 | # gem 'therubyracer', :platforms => :ruby |
|
21 | 21 | |
|
22 | 22 | gem 'uglifier' |
|
23 | 23 | end |
|
24 | 24 | |
|
25 | 25 | # gem 'prototype-rails' |
|
26 | 26 | |
|
27 | 27 | # To use ActiveModel has_secure_password |
|
28 | 28 | # gem 'bcrypt-ruby', '~> 3.0.0' |
|
29 | 29 | |
|
30 | 30 | # To use Jbuilder templates for JSON |
|
31 | 31 | # gem 'jbuilder' |
|
32 | 32 | |
|
33 | 33 | # Use unicorn as the app server |
|
34 | 34 | # gem 'unicorn' |
|
35 | 35 | |
@@ -56,26 +56,26 | |||
|
56 | 56 | #add bootstrap |
|
57 | 57 | gem 'bootstrap-sass', '~> 3.2.0' |
|
58 | 58 | gem 'bootstrap-switch-rails' |
|
59 | 59 | gem 'bootstrap-toggle-rails' |
|
60 | 60 | gem 'autoprefixer-rails' |
|
61 | 61 | |
|
62 | 62 | #bootstrap sortable |
|
63 | 63 | gem 'momentjs-rails' |
|
64 | 64 | gem 'rails_bootstrap_sortable' |
|
65 | 65 | |
|
66 | 66 | #ace editor |
|
67 | 67 | gem 'ace-rails-ap' |
|
68 | 68 | |
|
69 | 69 | gem 'haml' |
|
70 | 70 | gem 'haml-rails' |
|
71 | 71 | gem 'mail' |
|
72 | 72 | gem 'rdiscount' |
|
73 | 73 | gem 'test-unit' |
|
74 | 74 | gem 'will_paginate', '~> 3.0.7' |
|
75 | 75 | gem 'dynamic_form' |
|
76 | 76 | gem 'in_place_editing' |
|
77 | 77 | gem 'verification', :git => 'https://github.com/sikachu/verification.git' |
|
78 | 78 | |
|
79 | 79 | group :test, :development do |
|
80 |
- gem 'rspec-rails' |
|
|
80 | + gem 'rspec-rails' | |
|
81 | 81 | end |
@@ -1,218 +1,243 | |||
|
1 | 1 | GIT |
|
2 | 2 | remote: https://github.com/sikachu/verification.git |
|
3 | 3 | revision: e6fe084ce16b7b5a4b1cdfca5374d125fd034a0f |
|
4 | 4 | specs: |
|
5 | 5 | verification (1.0.3) |
|
6 | 6 | actionpack (>= 3.0.0, < 5.0) |
|
7 | 7 | activesupport (>= 3.0.0, < 5.0) |
|
8 | 8 | |
|
9 | 9 | GEM |
|
10 | 10 | remote: https://rubygems.org/ |
|
11 | 11 | specs: |
|
12 | 12 | ace-rails-ap (4.1.1) |
|
13 |
- actionmailer (4. |
|
|
14 |
- actionpack (= 4. |
|
|
15 |
- actionview (= 4. |
|
|
13 | + actionmailer (4.2.7.1) | |
|
14 | + actionpack (= 4.2.7.1) | |
|
15 | + actionview (= 4.2.7.1) | |
|
16 | + activejob (= 4.2.7.1) | |
|
16 | 17 | mail (~> 2.5, >= 2.5.4) |
|
17 | - actionpack (4.1.16) | |
|
18 |
- |
|
|
19 |
- acti |
|
|
20 | - rack (~> 1.5.2) | |
|
18 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
|
19 | + actionpack (4.2.7.1) | |
|
20 | + actionview (= 4.2.7.1) | |
|
21 | + activesupport (= 4.2.7.1) | |
|
22 | + rack (~> 1.6) | |
|
21 | 23 | rack-test (~> 0.6.2) |
|
22 | - actionview (4.1.16) | |
|
23 | - activesupport (= 4.1.16) | |
|
24 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
|
25 | + rails-html-sanitizer (~> 1.0, >= 1.0.2) | |
|
26 | + actionview (4.2.7.1) | |
|
27 | + activesupport (= 4.2.7.1) | |
|
24 | 28 | builder (~> 3.1) |
|
25 | 29 | erubis (~> 2.7.0) |
|
26 | - activemodel (4.1.16) | |
|
27 | - activesupport (= 4.1.16) | |
|
30 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
|
31 | + rails-html-sanitizer (~> 1.0, >= 1.0.2) | |
|
32 | + activejob (4.2.7.1) | |
|
33 | + activesupport (= 4.2.7.1) | |
|
34 | + globalid (>= 0.3.0) | |
|
35 | + activemodel (4.2.7.1) | |
|
36 | + activesupport (= 4.2.7.1) | |
|
28 | 37 | builder (~> 3.1) |
|
29 |
- activerecord (4. |
|
|
30 |
- activemodel (= 4. |
|
|
31 |
- activesupport (= 4. |
|
|
32 |
- arel (~> |
|
|
38 | + activerecord (4.2.7.1) | |
|
39 | + activemodel (= 4.2.7.1) | |
|
40 | + activesupport (= 4.2.7.1) | |
|
41 | + arel (~> 6.0) | |
|
33 | 42 | activerecord-session_store (1.0.0) |
|
34 | 43 | actionpack (>= 4.0, < 5.1) |
|
35 | 44 | activerecord (>= 4.0, < 5.1) |
|
36 | 45 | multi_json (~> 1.11, >= 1.11.2) |
|
37 | 46 | rack (>= 1.5.2, < 3) |
|
38 | 47 | railties (>= 4.0, < 5.1) |
|
39 |
- activesupport (4. |
|
|
40 |
- i18n (~> 0. |
|
|
48 | + activesupport (4.2.7.1) | |
|
49 | + i18n (~> 0.7) | |
|
41 | 50 | json (~> 1.7, >= 1.7.7) |
|
42 | 51 | minitest (~> 5.1) |
|
43 |
- thread_safe (~> 0. |
|
|
52 | + thread_safe (~> 0.3, >= 0.3.4) | |
|
44 | 53 | tzinfo (~> 1.1) |
|
45 |
- arel ( |
|
|
54 | + arel (6.0.3) | |
|
46 | 55 | autoprefixer-rails (6.5.3.1) |
|
47 | 56 | execjs |
|
48 | 57 | best_in_place (3.0.3) |
|
49 | 58 | actionpack (>= 3.2) |
|
50 | 59 | railties (>= 3.2) |
|
51 | 60 | bootstrap-sass (3.2.0.2) |
|
52 | 61 | sass (~> 3.2) |
|
53 | 62 | bootstrap-switch-rails (3.3.3) |
|
54 | 63 | bootstrap-toggle-rails (2.2.1.0) |
|
55 | 64 | builder (3.2.2) |
|
56 | 65 | coffee-rails (4.2.1) |
|
57 | 66 | coffee-script (>= 2.2.0) |
|
58 | 67 | railties (>= 4.0.0, < 5.2.x) |
|
59 | 68 | coffee-script (2.4.1) |
|
60 | 69 | coffee-script-source |
|
61 | 70 | execjs |
|
62 | 71 | coffee-script-source (1.11.1) |
|
63 | 72 | concurrent-ruby (1.0.2) |
|
64 | 73 | diff-lcs (1.2.5) |
|
65 | 74 | dynamic_form (1.1.4) |
|
66 | 75 | erubis (2.7.0) |
|
67 | 76 | execjs (2.7.0) |
|
77 | + globalid (0.3.7) | |
|
78 | + activesupport (>= 4.1.0) | |
|
68 | 79 | haml (4.0.7) |
|
69 | 80 | tilt |
|
70 | 81 | haml-rails (0.9.0) |
|
71 | 82 | actionpack (>= 4.0.1) |
|
72 | 83 | activesupport (>= 4.0.1) |
|
73 | 84 | haml (>= 4.0.6, < 5.0) |
|
74 | 85 | html2haml (>= 1.0.1) |
|
75 | 86 | railties (>= 4.0.1) |
|
76 | 87 | html2haml (2.0.0) |
|
77 | 88 | erubis (~> 2.7.0) |
|
78 | 89 | haml (~> 4.0.0) |
|
79 | 90 | nokogiri (~> 1.6.0) |
|
80 | 91 | ruby_parser (~> 3.5) |
|
81 | 92 | i18n (0.7.0) |
|
82 | 93 | in_place_editing (1.2.0) |
|
83 | 94 | jquery-countdown-rails (2.0.2) |
|
84 |
- jquery-rails ( |
|
|
85 |
- rail |
|
|
95 | + jquery-rails (4.2.1) | |
|
96 | + rails-dom-testing (>= 1, < 3) | |
|
97 | + railties (>= 4.2.0) | |
|
86 | 98 | thor (>= 0.14, < 2.0) |
|
87 | 99 | jquery-tablesorter (1.23.1) |
|
88 | 100 | railties (>= 3.2, < 6) |
|
89 | 101 | jquery-timepicker-addon-rails (1.4.1) |
|
90 | 102 | railties (>= 3.1) |
|
91 | 103 | jquery-ui-rails (4.0.3) |
|
92 | 104 | jquery-rails |
|
93 | 105 | railties (>= 3.1.0) |
|
94 | 106 | jquery-ui-sass-rails (4.0.3.0) |
|
95 | 107 | jquery-rails |
|
96 | 108 | jquery-ui-rails (= 4.0.3) |
|
97 | 109 | railties (>= 3.1.0) |
|
98 | 110 | json (1.8.3) |
|
111 | + loofah (2.0.3) | |
|
112 | + nokogiri (>= 1.5.9) | |
|
99 | 113 | mail (2.6.4) |
|
100 | 114 | mime-types (>= 1.16, < 4) |
|
101 | 115 | mime-types (3.1) |
|
102 | 116 | mime-types-data (~> 3.2015) |
|
103 | 117 | mime-types-data (3.2016.0521) |
|
104 | 118 | mini_portile2 (2.1.0) |
|
105 | 119 | minitest (5.10.1) |
|
106 | 120 | momentjs-rails (2.15.1) |
|
107 | 121 | railties (>= 3.1) |
|
108 | 122 | multi_json (1.12.1) |
|
109 |
- mysql2 (0. |
|
|
123 | + mysql2 (0.4.5) | |
|
110 | 124 | nokogiri (1.6.8.1) |
|
111 | 125 | mini_portile2 (~> 2.1.0) |
|
112 | 126 | power_assert (0.4.1) |
|
113 |
- rack (1. |
|
|
127 | + rack (1.6.5) | |
|
114 | 128 | rack-test (0.6.3) |
|
115 | 129 | rack (>= 1.0) |
|
116 |
- rails (4. |
|
|
117 |
- actionmailer (= 4. |
|
|
118 |
- actionpack (= 4. |
|
|
119 |
- actionview (= 4. |
|
|
120 |
- active |
|
|
121 |
- active |
|
|
122 |
- active |
|
|
130 | + rails (4.2.7.1) | |
|
131 | + actionmailer (= 4.2.7.1) | |
|
132 | + actionpack (= 4.2.7.1) | |
|
133 | + actionview (= 4.2.7.1) | |
|
134 | + activejob (= 4.2.7.1) | |
|
135 | + activemodel (= 4.2.7.1) | |
|
136 | + activerecord (= 4.2.7.1) | |
|
137 | + activesupport (= 4.2.7.1) | |
|
123 | 138 | bundler (>= 1.3.0, < 2.0) |
|
124 |
- railties (= 4. |
|
|
125 |
- sprockets-rails |
|
|
139 | + railties (= 4.2.7.1) | |
|
140 | + sprockets-rails | |
|
141 | + rails-deprecated_sanitizer (1.0.3) | |
|
142 | + activesupport (>= 4.2.0.alpha) | |
|
143 | + rails-dom-testing (1.0.7) | |
|
144 | + activesupport (>= 4.2.0.beta, < 5.0) | |
|
145 | + nokogiri (~> 1.6.0) | |
|
146 | + rails-deprecated_sanitizer (>= 1.0.1) | |
|
147 | + rails-html-sanitizer (1.0.3) | |
|
148 | + loofah (~> 2.0) | |
|
126 | 149 | rails_bootstrap_sortable (2.0.1) |
|
127 | 150 | momentjs-rails (>= 2.8.3) |
|
128 |
- railties (4. |
|
|
129 |
- actionpack (= 4. |
|
|
130 |
- activesupport (= 4. |
|
|
151 | + railties (4.2.7.1) | |
|
152 | + actionpack (= 4.2.7.1) | |
|
153 | + activesupport (= 4.2.7.1) | |
|
131 | 154 | rake (>= 0.8.7) |
|
132 | 155 | thor (>= 0.18.1, < 2.0) |
|
133 | 156 | rake (12.0.0) |
|
134 | 157 | rdiscount (2.2.0.1) |
|
135 | 158 | rouge (2.0.7) |
|
136 |
- rspec-co |
|
|
137 |
- rspec- |
|
|
138 |
- rspec- |
|
|
139 | - rspec-expectations (2.99.2) | |
|
140 | - diff-lcs (>= 1.1.3, < 2.0) | |
|
141 |
- rspec-mocks ( |
|
|
142 | - rspec-rails (2.99.0) | |
|
159 | + rspec-core (3.5.4) | |
|
160 | + rspec-support (~> 3.5.0) | |
|
161 | + rspec-expectations (3.5.0) | |
|
162 | + diff-lcs (>= 1.2.0, < 2.0) | |
|
163 | + rspec-support (~> 3.5.0) | |
|
164 | + rspec-mocks (3.5.0) | |
|
165 | + diff-lcs (>= 1.2.0, < 2.0) | |
|
166 | + rspec-support (~> 3.5.0) | |
|
167 | + rspec-rails (3.5.2) | |
|
143 | 168 | actionpack (>= 3.0) |
|
144 | - activemodel (>= 3.0) | |
|
145 | 169 | activesupport (>= 3.0) |
|
146 | 170 | railties (>= 3.0) |
|
147 | - rspec-collection_matchers | |
|
148 |
- rspec- |
|
|
149 |
- rspec- |
|
|
150 |
- rspec- |
|
|
171 | + rspec-core (~> 3.5.0) | |
|
172 | + rspec-expectations (~> 3.5.0) | |
|
173 | + rspec-mocks (~> 3.5.0) | |
|
174 | + rspec-support (~> 3.5.0) | |
|
175 | + rspec-support (3.5.0) | |
|
151 | 176 | ruby_parser (3.8.3) |
|
152 | 177 | sexp_processor (~> 4.1) |
|
153 | 178 | sass (3.4.22) |
|
154 | 179 | sass-rails (5.0.6) |
|
155 | 180 | railties (>= 4.0.0, < 6) |
|
156 | 181 | sass (~> 3.1) |
|
157 | 182 | sprockets (>= 2.8, < 4.0) |
|
158 | 183 | sprockets-rails (>= 2.0, < 4.0) |
|
159 | 184 | tilt (>= 1.1, < 3) |
|
160 | 185 | select2-rails (4.0.3) |
|
161 | 186 | thor (~> 0.14) |
|
162 | 187 | sexp_processor (4.7.0) |
|
163 | 188 | sprockets (3.7.0) |
|
164 | 189 | concurrent-ruby (~> 1.0) |
|
165 | 190 | rack (> 1, < 3) |
|
166 |
- sprockets-rails ( |
|
|
167 |
- actionpack (>= |
|
|
168 |
- activesupport (>= |
|
|
169 |
- sprockets (>= |
|
|
191 | + sprockets-rails (3.2.0) | |
|
192 | + actionpack (>= 4.0) | |
|
193 | + activesupport (>= 4.0) | |
|
194 | + sprockets (>= 3.0.0) | |
|
170 | 195 | test-unit (3.2.3) |
|
171 | 196 | power_assert |
|
172 | 197 | thor (0.19.4) |
|
173 | 198 | thread_safe (0.3.5) |
|
174 | 199 | tilt (2.0.5) |
|
175 | 200 | tzinfo (1.2.2) |
|
176 | 201 | thread_safe (~> 0.1) |
|
177 | 202 | uglifier (3.0.4) |
|
178 | 203 | execjs (>= 0.3.0, < 3) |
|
179 | 204 | will_paginate (3.0.12) |
|
180 | 205 | |
|
181 | 206 | PLATFORMS |
|
182 | 207 | ruby |
|
183 | 208 | |
|
184 | 209 | DEPENDENCIES |
|
185 | 210 | ace-rails-ap |
|
186 | 211 | activerecord-session_store |
|
187 | 212 | autoprefixer-rails |
|
188 | 213 | best_in_place (~> 3.0.1) |
|
189 | 214 | bootstrap-sass (~> 3.2.0) |
|
190 | 215 | bootstrap-switch-rails |
|
191 | 216 | bootstrap-toggle-rails |
|
192 | 217 | coffee-rails |
|
193 | 218 | dynamic_form |
|
194 | 219 | haml |
|
195 | 220 | haml-rails |
|
196 | 221 | in_place_editing |
|
197 | 222 | jquery-countdown-rails |
|
198 | 223 | jquery-rails |
|
199 | 224 | jquery-tablesorter |
|
200 | 225 | jquery-timepicker-addon-rails |
|
201 | 226 | jquery-ui-sass-rails |
|
202 | 227 | |
|
203 | 228 | momentjs-rails |
|
204 | - mysql2 (~> 0.3.0) | |
|
205 |
- rails (~> 4. |
|
|
229 | + mysql2 | |
|
230 | + rails (~> 4.2.0) | |
|
206 | 231 | rails_bootstrap_sortable |
|
207 | 232 | rdiscount |
|
208 | 233 | rouge |
|
209 |
- rspec-rails |
|
|
234 | + rspec-rails | |
|
210 | 235 | sass-rails |
|
211 | 236 | select2-rails |
|
212 | 237 | test-unit |
|
213 | 238 | uglifier |
|
214 | 239 | verification! |
|
215 | 240 | will_paginate (~> 3.0.7) |
|
216 | 241 | |
|
217 | 242 | BUNDLED WITH |
|
218 | 243 | 1.13.6 |
@@ -15,28 +15,28 | |||
|
15 | 15 | |
|
16 | 16 | # Don't care if the mailer can't send |
|
17 | 17 | config.action_mailer.raise_delivery_errors = false |
|
18 | 18 | |
|
19 | 19 | # Print deprecation notices to the Rails logger |
|
20 | 20 | config.active_support.deprecation = :log |
|
21 | 21 | |
|
22 | 22 | # Only use best-standards-support built into browsers |
|
23 | 23 | config.action_dispatch.best_standards_support = :builtin |
|
24 | 24 | |
|
25 | 25 | # Raise exception on mass assignment protection for Active Record models |
|
26 | 26 | # config.active_record.mass_assignment_sanitizer = :strict //DEPRICATED |
|
27 | 27 | |
|
28 | 28 | # Log the query plan for queries taking more than this (works // DEPRICATED |
|
29 | 29 | # with SQLite, MySQL, and PostgreSQL) // DEPRICATED |
|
30 | 30 | # config.active_record.auto_explain_threshold_in_seconds = 0.5 // DEPRICATED |
|
31 | 31 | |
|
32 | 32 | # Do not compress assets |
|
33 | 33 | config.assets.compress = false |
|
34 | 34 | |
|
35 | 35 | # Expands the lines which load the assets |
|
36 | 36 | config.assets.debug = true |
|
37 | 37 | |
|
38 | 38 | # Prevents assets from rendering twice |
|
39 |
- config.serve_static_ |
|
|
39 | + config.serve_static_files = true | |
|
40 | 40 | |
|
41 | 41 | config.eager_load = false |
|
42 | 42 | end |
@@ -1,36 +1,36 | |||
|
1 | 1 | CafeGrader::Application.configure do |
|
2 | 2 | # Settings specified here will take precedence over those in config/application.rb |
|
3 | 3 | |
|
4 | 4 | # Code is not reloaded between requests |
|
5 | 5 | config.cache_classes = true |
|
6 | 6 | |
|
7 | 7 | # Full error reports are disabled and caching is turned on |
|
8 | 8 | config.consider_all_requests_local = false |
|
9 | 9 | config.action_controller.perform_caching = true |
|
10 | 10 | |
|
11 | 11 | # Disable Rails's static asset server (Apache or nginx will already do this) |
|
12 |
- config.serve_static_ |
|
|
12 | + config.serve_static_files = false | |
|
13 | 13 | |
|
14 | 14 | # Compress JavaScripts and CSS |
|
15 | 15 | config.assets.compress = true |
|
16 | 16 | |
|
17 | 17 | # Don't fallback to assets pipeline if a precompiled asset is missed |
|
18 | 18 | config.assets.compile = false |
|
19 | 19 | |
|
20 | 20 | # Generate digests for assets URLs |
|
21 | 21 | config.assets.digest = true |
|
22 | 22 | |
|
23 | 23 | # Defaults to nil and saved in location specified by config.assets.prefix |
|
24 | 24 | # config.assets.manifest = YOUR_PATH |
|
25 | 25 | |
|
26 | 26 | # Specifies the header that your server uses for sending files |
|
27 | 27 | # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache |
|
28 | 28 | # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx |
|
29 | 29 | |
|
30 | 30 | # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. |
|
31 | 31 | # config.force_ssl = true |
|
32 | 32 | |
|
33 | 33 | # See everything in the log (default is :info) |
|
34 | 34 | # config.log_level = :debug |
|
35 | 35 | |
|
36 | 36 | # Prepend all log lines with the following tags |
@@ -1,35 +1,35 | |||
|
1 | 1 | CafeGrader::Application.configure do |
|
2 | 2 | # Settings specified here will take precedence over those in config/application.rb |
|
3 | 3 | |
|
4 | 4 | # The test environment is used exclusively to run your application's |
|
5 | 5 | # test suite. You never need to work with it otherwise. Remember that |
|
6 | 6 | # your test database is "scratch space" for the test suite and is wiped |
|
7 | 7 | # and recreated between test runs. Don't rely on the data there! |
|
8 | 8 | config.cache_classes = true |
|
9 | 9 | |
|
10 | 10 | # Configure static asset server for tests with Cache-Control for performance |
|
11 |
- config.serve_static_ |
|
|
11 | + config.serve_static_files = true | |
|
12 | 12 | config.static_cache_control = "public, max-age=3600" |
|
13 | 13 | |
|
14 | 14 | # Log error messages when you accidentally call methods on nil |
|
15 | 15 | config.whiny_nils = true |
|
16 | 16 | |
|
17 | 17 | # Show full error reports and disable caching |
|
18 | 18 | config.consider_all_requests_local = true |
|
19 | 19 | config.action_controller.perform_caching = false |
|
20 | 20 | |
|
21 | 21 | # Raise exceptions instead of rendering exception templates |
|
22 | 22 | config.action_dispatch.show_exceptions = false |
|
23 | 23 | |
|
24 | 24 | # Disable request forgery protection in test environment |
|
25 | 25 | config.action_controller.allow_forgery_protection = false |
|
26 | 26 | |
|
27 | 27 | # Tell Action Mailer not to deliver emails to the real world. |
|
28 | 28 | # The :test delivery method accumulates sent emails in the |
|
29 | 29 | # ActionMailer::Base.deliveries array. |
|
30 | 30 | config.action_mailer.delivery_method = :test |
|
31 | 31 | |
|
32 | 32 | # Raise exception on mass assignment protection for Active Record models |
|
33 | 33 | #config.active_record.mass_assignment_sanitizer = :strict // DEPRICATED |
|
34 | 34 | |
|
35 | 35 | # Print deprecation notices to the stderr |
@@ -1,6 +1,5 | |||
|
1 | 1 | # Be sure to restart your server when you modify this file. |
|
2 | 2 | |
|
3 | 3 | # Add new mime types for use in respond_to blocks: |
|
4 | 4 | # Mime::Type.register "text/richtext", :rtf |
|
5 | 5 | # Mime::Type.register_alias "text/html", :iphone |
|
6 | - Mime::Type.register 'application/pdf', :pdf |
deleted file |
You need to be logged in to leave comments.
Login now