[RUBY] Tutorial 1 for building apps with Rails (First steps to Yay! You're on Rails!)

Launch new application

rails _rails version_new app name-d to use db(mysql etc.)

Change data storage format

config.database.yml


encoding: utf8mb4
encoding: utf8 #<=Change

Creating a database

rails db:create

Start the server

rails s

Access localhost 「Yay! You're on Rails!」

Recommended Posts

Tutorial 1 for building apps with Rails (First steps to Yay! You're on Rails!)
Tutorial to create a blog with Rails for beginners Part 1
Tutorial to create a blog with Rails for beginners Part 2
Tutorial to create a blog with Rails for beginners Part 0
Building an environment for creating apps with Rails and Vue
Steps to build a Ruby on Rails development environment with Vagrant
Build debug environment on container --Build local development environment for Rails tutorial with Docker-
Introducing New Relic to Rails apps on Heroku
Notes on building Rails6 / PostgreSQL with Docker Compose
[Rails] Procedure for linking databases with Ruby On Rails
Recipe for deploying Rails apps on AWS EC2
Challenge the settings for developing with vue.js on Rails 6
[Rails] Learning with Rails tutorial
Yay! I'm on Rails!
Rails Tutorial Chapter 11 Dealing with Unable to Send Emails Due to Unauthenticated Sender ID on SendGrid
Chewing Rails Tutorial [Chapter 1 From Zero to Deployment] First Half
A series of steps to create portfolio deliverables with Rails
Measures for permissions when building MySQL with Docker on WSL2
Preparation for developing with Rails
Yay! I'm on Rails! Repetition
I want to add a browsing function with ruby on rails
[RSpec on Rails] How to write test code for beginners by beginners
Procedure for building a Rails application development environment with Docker [Rails, MySQL, Docker]
How to install Pry after building Rails development environment with Docker
Redirect to your own domain with rack-rewrite on Heroku x Rails
Things to remember and concepts in the Ruby on Rails tutorial
[Ruby on Rails] How to avoid creating unnecessary routes for devise
[Ruby on Rails] When logging in for the first time ・ How to split the screen in half using jQuery