質問編集履歴
2
タグをrailsだけにした
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
コメントアウトしてある行を消して、production.rbがすべて入るようにした
test
CHANGED
File without changes
|
test
CHANGED
@@ -114,11 +114,81 @@
|
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
+
|
118
|
+
|
119
|
+
コメントアウトの行は消しています。(はいらないので)
|
120
|
+
|
117
121
|
```production.rb
|
118
122
|
|
119
123
|
Rails.application.configure do
|
120
124
|
|
125
|
+
|
126
|
+
|
127
|
+
config.cache_classes = true
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
config.eager_load = true
|
132
|
+
|
133
|
+
config.consider_all_requests_local = false
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
config.action_controller.perform_caching = true
|
138
|
+
|
139
|
+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
config.assets.js_compressor = :uglifier
|
144
|
+
|
145
|
+
config.assets.css_compressor = :sass
|
146
|
+
|
147
|
+
config.assets.compile = true
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
config.active_storage.service = :local
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
config.log_level = :debug
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
config.log_tags = [ :request_id ]
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
config.action_mailer.perform_caching = false
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
config.i18n.fallbacks = true
|
174
|
+
|
175
|
+
config.assets.enabled = false
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
config.active_support.deprecation = :notify
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
config.log_formatter = ::Logger::Formatter.new
|
184
|
+
|
185
|
+
|
186
|
+
|
121
|
-
..
|
187
|
+
config.assets.digest = true
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
122
192
|
|
123
193
|
if ENV["RAILS_LOG_TO_STDOUT"].present?
|
124
194
|
|