質問編集履歴

1

config/environments/production.rb

2017/11/28 05:04

投稿

takahirono4
takahirono4

スコア7

test CHANGED
File without changes
test CHANGED
@@ -215,3 +215,69 @@
215
215
  rootあたりかと思うのですが、原因がわかりません。
216
216
 
217
217
  お忙しいところ恐縮ですが、どなたかお分かりになる方がいらっしゃったらよろしくお願いいたします。
218
+
219
+
220
+
221
+
222
+
223
+ # 追記:
224
+
225
+
226
+
227
+ # config/environments/production.rbの内容です。
228
+
229
+
230
+
231
+ Rails.application.configure do
232
+
233
+
234
+
235
+ config.cache_classes = true
236
+
237
+
238
+
239
+ config.eager_load = true
240
+
241
+
242
+
243
+ config.consider_all_requests_local = false
244
+
245
+ config.action_controller.perform_caching = true
246
+
247
+
248
+
249
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
250
+
251
+
252
+
253
+ config.assets.js_compressor = :uglifier
254
+
255
+
256
+
257
+ config.assets.compile = true
258
+
259
+
260
+
261
+ config.assets.digest = true
262
+
263
+
264
+
265
+ config.log_level = :debug
266
+
267
+
268
+
269
+ config.i18n.fallbacks = true
270
+
271
+
272
+
273
+ config.active_support.deprecation = :notify
274
+
275
+
276
+
277
+ config.log_formatter = ::Logger::Formatter.new
278
+
279
+
280
+
281
+ config.active_record.dump_schema_after_migration = false
282
+
283
+ end