質問編集履歴
1
参考ファイルの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -520,6 +520,58 @@
|
|
520
520
|
|
521
521
|
|
522
522
|
|
523
|
+
### config/application.rbの中身
|
524
|
+
|
525
|
+
```ここに言語を入力
|
526
|
+
|
527
|
+
require_relative 'boot'
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
require 'rails/all'
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
# Require the gems listed in Gemfile, including any gems
|
536
|
+
|
537
|
+
# you've limited to :test, :development, or :production.
|
538
|
+
|
539
|
+
Bundler.require(*Rails.groups)
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
module Tempo
|
544
|
+
|
545
|
+
class Application < Rails::Application
|
546
|
+
|
547
|
+
# Initialize configuration defaults for originally generated Rails version.
|
548
|
+
|
549
|
+
config.load_defaults 5.2
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
# Settings in config/environments/* take precedence over those specified here.
|
554
|
+
|
555
|
+
# Application configuration can go into files in config/initializers
|
556
|
+
|
557
|
+
# -- all .rb files in that directory are automatically loaded after loading
|
558
|
+
|
559
|
+
# the framework and any gems in your application.
|
560
|
+
|
561
|
+
config.time_zone = 'Tokyo'
|
562
|
+
|
563
|
+
config.i18n.default_locale = :ja
|
564
|
+
|
565
|
+
end
|
566
|
+
|
567
|
+
end
|
568
|
+
|
569
|
+
|
570
|
+
|
571
|
+
```
|
572
|
+
|
573
|
+
|
574
|
+
|
523
575
|
### 環境
|
524
576
|
|
525
577
|
ruby 2.6.2
|