質問編集履歴

3

修正

2018/09/18 07:22

投稿

kenkun777
kenkun777

スコア10

test CHANGED
File without changes
test CHANGED
@@ -122,118 +122,118 @@
122
122
 
123
123
  from bin/rails:9:in `<main>'
124
124
 
125
+
126
+
127
+ //*---------------- 追加情報<development.rb> ---------------- *//
128
+
129
+
130
+
131
+ Rails.application.configure do
132
+
133
+ # Settings specified here will take precedence over those in config/application.rb.
134
+
135
+
136
+
137
+ # In the development environment your application's code is reloaded on
138
+
139
+ # every request. This slows down response time but is perfect for development
140
+
141
+ # since you don't have to restart the web server when you make code changes.
142
+
143
+ config.cache_classes = false
144
+
145
+
146
+
147
+ # Do not eager load code on boot.
148
+
149
+ config.eager_load = false
150
+
151
+
152
+
153
+ # Show full error reports and disable caching.
154
+
155
+ config.consider_all_requests_local = true
156
+
157
+ config.action_controller.perform_caching = false
158
+
159
+
160
+
161
+ # Print deprecation notices to the Rails logger.
162
+
163
+ config.active_support.deprecation = :log
164
+
165
+
166
+
167
+ # Raise an error on page load if there are pending migrations.
168
+
169
+ config.active_record.migration_error = :page_load
170
+
171
+
172
+
173
+ # Debug mode disables concatenation and preprocessing of assets.
174
+
175
+ # This option may cause significant delays in view rendering with a large
176
+
177
+ # number of complex assets.
178
+
179
+ config.assets.debug = true # Re-read each assets file
180
+
181
+ config.assets.compile = true
182
+
183
+ config.assets.digest = true # Add md5 value on every static file
184
+
185
+ config.serve_static_files = true
186
+
187
+
188
+
189
+ # Adds additional error checking when serving assets at runtime.
190
+
191
+ # Checks for improperly declared sprockets dependencies.
192
+
193
+ # Raises helpful error messages.
194
+
195
+ config.assets.raise_runtime_errors = true
196
+
197
+
198
+
199
+ # gem bullet
200
+
201
+ config.after_initialize do
202
+
203
+ Bullet.enable = true # Bulletプラグインを有効
204
+
205
+ Bullet.alert = true # JavaScriptでの通知
206
+
207
+ Bullet.bullet_logger = true # log/bullet.logへの出力
208
+
209
+ Bullet.console = true # ブラウザのコンソールログに記録
210
+
211
+ Bullet.rails_logger = true # Railsログに出力
212
+
213
+ end
214
+
215
+
216
+
217
+ # Raises error for missing translations
218
+
219
+ config.action_view.raise_on_missing_translations = true
220
+
221
+
222
+
223
+ # Mailer Setting
224
+
225
+ config.action_mailer.default_url_options = { host: 'localhost:3000' }
226
+
227
+ config.action_mailer.delivery_method = :letter_opener
228
+
229
+
230
+
231
+ config.action_controller.action_on_unpermitted_parameters = :raise
232
+
233
+
234
+
235
+ end
236
+
237
+
238
+
125
239
  ```
126
-
127
-
128
-
129
-
130
-
131
- //*---------------- 追加情報<development.rb> ---------------- *//
132
-
133
-
134
-
135
- Rails.application.configure do
136
-
137
- # Settings specified here will take precedence over those in config/application.rb.
138
-
139
-
140
-
141
- # In the development environment your application's code is reloaded on
142
-
143
- # every request. This slows down response time but is perfect for development
144
-
145
- # since you don't have to restart the web server when you make code changes.
146
-
147
- config.cache_classes = false
148
-
149
-
150
-
151
- # Do not eager load code on boot.
152
-
153
- config.eager_load = false
154
-
155
-
156
-
157
- # Show full error reports and disable caching.
158
-
159
- config.consider_all_requests_local = true
160
-
161
- config.action_controller.perform_caching = false
162
-
163
-
164
-
165
- # Print deprecation notices to the Rails logger.
166
-
167
- config.active_support.deprecation = :log
168
-
169
-
170
-
171
- # Raise an error on page load if there are pending migrations.
172
-
173
- config.active_record.migration_error = :page_load
174
-
175
-
176
-
177
- # Debug mode disables concatenation and preprocessing of assets.
178
-
179
- # This option may cause significant delays in view rendering with a large
180
-
181
- # number of complex assets.
182
-
183
- config.assets.debug = true # Re-read each assets file
184
-
185
- config.assets.compile = true
186
-
187
- config.assets.digest = true # Add md5 value on every static file
188
-
189
- config.serve_static_files = true
190
-
191
-
192
-
193
- # Adds additional error checking when serving assets at runtime.
194
-
195
- # Checks for improperly declared sprockets dependencies.
196
-
197
- # Raises helpful error messages.
198
-
199
- config.assets.raise_runtime_errors = true
200
-
201
-
202
-
203
- # gem bullet
204
-
205
- config.after_initialize do
206
-
207
- Bullet.enable = true # Bulletプラグインを有効
208
-
209
- Bullet.alert = true # JavaScriptでの通知
210
-
211
- Bullet.bullet_logger = true # log/bullet.logへの出力
212
-
213
- Bullet.console = true # ブラウザのコンソールログに記録
214
-
215
- Bullet.rails_logger = true # Railsログに出力
216
-
217
- end
218
-
219
-
220
-
221
- # Raises error for missing translations
222
-
223
- config.action_view.raise_on_missing_translations = true
224
-
225
-
226
-
227
- # Mailer Setting
228
-
229
- config.action_mailer.default_url_options = { host: 'localhost:3000' }
230
-
231
- config.action_mailer.delivery_method = :letter_opener
232
-
233
-
234
-
235
- config.action_controller.action_on_unpermitted_parameters = :raise
236
-
237
-
238
-
239
- end

2

追加情報を更新

2018/09/18 07:22

投稿

kenkun777
kenkun777

スコア10

test CHANGED
File without changes
test CHANGED
@@ -123,3 +123,117 @@
123
123
  from bin/rails:9:in `<main>'
124
124
 
125
125
  ```
126
+
127
+
128
+
129
+
130
+
131
+ //*---------------- 追加情報<development.rb> ---------------- *//
132
+
133
+
134
+
135
+ Rails.application.configure do
136
+
137
+ # Settings specified here will take precedence over those in config/application.rb.
138
+
139
+
140
+
141
+ # In the development environment your application's code is reloaded on
142
+
143
+ # every request. This slows down response time but is perfect for development
144
+
145
+ # since you don't have to restart the web server when you make code changes.
146
+
147
+ config.cache_classes = false
148
+
149
+
150
+
151
+ # Do not eager load code on boot.
152
+
153
+ config.eager_load = false
154
+
155
+
156
+
157
+ # Show full error reports and disable caching.
158
+
159
+ config.consider_all_requests_local = true
160
+
161
+ config.action_controller.perform_caching = false
162
+
163
+
164
+
165
+ # Print deprecation notices to the Rails logger.
166
+
167
+ config.active_support.deprecation = :log
168
+
169
+
170
+
171
+ # Raise an error on page load if there are pending migrations.
172
+
173
+ config.active_record.migration_error = :page_load
174
+
175
+
176
+
177
+ # Debug mode disables concatenation and preprocessing of assets.
178
+
179
+ # This option may cause significant delays in view rendering with a large
180
+
181
+ # number of complex assets.
182
+
183
+ config.assets.debug = true # Re-read each assets file
184
+
185
+ config.assets.compile = true
186
+
187
+ config.assets.digest = true # Add md5 value on every static file
188
+
189
+ config.serve_static_files = true
190
+
191
+
192
+
193
+ # Adds additional error checking when serving assets at runtime.
194
+
195
+ # Checks for improperly declared sprockets dependencies.
196
+
197
+ # Raises helpful error messages.
198
+
199
+ config.assets.raise_runtime_errors = true
200
+
201
+
202
+
203
+ # gem bullet
204
+
205
+ config.after_initialize do
206
+
207
+ Bullet.enable = true # Bulletプラグインを有効
208
+
209
+ Bullet.alert = true # JavaScriptでの通知
210
+
211
+ Bullet.bullet_logger = true # log/bullet.logへの出力
212
+
213
+ Bullet.console = true # ブラウザのコンソールログに記録
214
+
215
+ Bullet.rails_logger = true # Railsログに出力
216
+
217
+ end
218
+
219
+
220
+
221
+ # Raises error for missing translations
222
+
223
+ config.action_view.raise_on_missing_translations = true
224
+
225
+
226
+
227
+ # Mailer Setting
228
+
229
+ config.action_mailer.default_url_options = { host: 'localhost:3000' }
230
+
231
+ config.action_mailer.delivery_method = :letter_opener
232
+
233
+
234
+
235
+ config.action_controller.action_on_unpermitted_parameters = :raise
236
+
237
+
238
+
239
+ end

1

文章の追加

2018/09/18 07:21

投稿

kenkun777
kenkun777

スコア10

test CHANGED
@@ -1 +1 @@
1
- 【緊急】rails sをしてエラーで繋がらないので困っている。
1
+ 【緊急】Ruby on rails rails sをしてエラーで繋がらないので困っている。
test CHANGED
File without changes