Ruby on Rails5 Quick Learning Practice Guide 5.2 Compatible Chapter3

Create a Capter3 task management application

Create a simple "task management application" with CRUD from scratch without using scaffold.

environment

Make it possible to issue Rails error messages in Japanese Download the translated file (raw file) from the Rails-i18n repository on Github as config / locales / ja.yml.

wget https://raw.githubusercontent.com/svenfuchs/rails-i18n/master/rails/locale/ja.yml --output-file=config/locales/ja.yml

If you check config / locales / ja.yml, the following log is described.

--2020-06-26 14:40:30-- https://raw.githubusercontent.com/svenfuchs/rails-i18n/master/rails/locale/ja.yml Connecting to 192.168.24.1:8080 ... Connected. Proxy sent connection request, waiting for response ... 200 OK Length: 5117 (5.0K) [text / plain] Saving in `ja.yml'

0K ....                                                  100% 10.3M=0s

2020-06-26 14:40:31 (10.3 MB / s) --Save to `ja.yml'completed [5117/5117]

To WEB browser as a solution https://raw.githubusercontent.com/svenfuchs/rails-i18n/master/rails/locale/ja.yml Paste. Paste the contents of the following text displayed in ja.yml and save it.


ja: activerecord: errors: messages: record_invalid:'Validation failed:% {errors}' restrict_dependent_destroy: has_one: "Cannot be deleted because% {record} exists" has_many: "Cannot be deleted because% {record} exists" date: abbr_day_names:

Now you are ready to create your application.

Recommended Posts

Ruby on Rails5 Quick Learning Practice Guide 5.2 Compatible Chapter2
Ruby on Rails5 Quick Learning Practice Guide 5.2 Compatible Chapter3
Ruby on rails learning record -2020.10.03
Ruby on rails learning record -2020.10.04
Ruby on rails learning record -2020.10.05
Ruby on rails learning record -2020.10.09
Ruby on rails learning record-2020.10.07 ②
Ruby on rails learning record-2020.10.07 ①
Ruby on rails learning record -2020.10.06
Ruby on Rails6 Practical Guide cp13 ~ cp15 [Memo]
Ruby on Rails6 Practical Guide cp7 ~ cp9 [Memo]
Ruby on Rails6 Practical Guide cp10 ~ cp12 [Memo]
Ruby on Rails6 Practical Guide cp16 ~ cp18 [Memo]
Ruby on Rails6 Practical Guide [Extensions] cp10 ~ cp12 [Memo]
Ruby on Rails6 Practical Guide [Extensions] cp3 ~ cp6 [Memo]
Chapter 4 Rails Flavored Ruby
Rails Tutorial Chapter 3 Learning
Ruby on Rails Elementary
Ruby on Rails basics
Rails Tutorial Chapter 4 Learning
Ruby On Rails Association
Rails Tutorial Chapter 1 Learning
Rails Tutorial Chapter 2 Learning
Portfolio creation Ruby on Rails
[Ruby on Rails] Debug (binding.pry)
[Rails Tutorial Chapter 4] Rails-flavored Ruby
Cancel Ruby on Rails migration
Ruby on Rails validation summary
Ruby on Rails Basic Memorandum
[Ruby on Rails] Read try (: [],: key)
Ruby on Rails variable, constant summary
Installing Ruby + Rails on Ubuntu 18.04 (rbenv)
[Ruby on Rails] Introduced paging function
Basic knowledge of Ruby on Rails
How to use Ruby on Rails
Ruby on Rails Japanese-English support i18n
[Ruby on Rails] CSV output function
Ruby On Rails devise routing conflict
[Ruby on Rails] Comment function implementation
[Ruby on Rails] DM, chat function
[Ruby on Rails] Convenient helper method
[Ruby on Rails] Stop "looping until ..."
[Ruby on Rails] Introduction of initial data
Rails Tutorial 6th Edition Learning Summary Chapter 10
Rails Tutorial 6th Edition Learning Summary Chapter 7
[Ruby on Rails] Search function (not selected)
[Rails] Addition of Ruby On Rails comment function
[Ruby on Rails] Creating an inquiry form
Rails Tutorial 6th Edition Learning Summary Chapter 4
[Ruby on Rails] View test with RSpec
[Ruby on Rails] Code check using Rubocop-airbnb
[Ruby on Rails] 1 model CRUD (Routing Main)
Ruby on Rails installation method [Mac edition]
Rails Tutorial 6th Edition Learning Summary Chapter 9
Rails Tutorial 6th Edition Learning Summary Chapter 6
[Ruby on Rails] model, controller terminal command
Ruby on Rails model creation / deletion command
Rails Tutorial 6th Edition Learning Summary Chapter 5
Ruby on Rails in Visual Studio Codespaces
[Ruby on Rails] Follow function implementation: Bidirectional
Notes on using FCM with Ruby on Rails