Check the root on the Rails browser

Introduction

This time, we will learn how to check the route on the browser.

I usually hit rails routes in the terminal to check.

$ rails routes
      Prefix Verb   URI Pattern               Controller#Action
sessions_new GET    /sessions/new(.:format)   sessions#new
        root GET    /                         static_pages#home
        help GET    /help(.:format)           static_pages#help
       about GET    /about(.:format)          static_pages#about
     contact GET    /contact(.:format)        static_pages#contact
      signup GET    /signup(.:format)         users#new
             POST   /signup(.:format)         users#create
       login GET    /login(.:format)          sessions#new
             POST   /login(.:format)          sessions#create
      logout DELETE /logout(.:format)         sessions#destroy
       users GET    /users(.:format)          users#index
             POST   /users(.:format)          users#create
    new_user GET    /users/new(.:format)      users#new
   edit_user GET    /users/:id/edit(.:format) users#edit
        user GET    /users/:id(.:format)      users#show
             PATCH  /users/:id(.:format)      users#update
             PUT    /users/:id(.:format)      users#update
             DELETE /users/:id(.:format)      users#destroy

How to check on the browser

(http://localhost:3000/rails/info/routes)

Just visit here!

From the left column -Helper -HTTP Verb -Path -Controller#Action

The configuration is the same as the terminal.

This is easier to see!

Recommended Posts

Check the root on the Rails browser
[Ruby on Rails] Quickly display the page title in the browser
Check the migration status of rails
Check H2 database on the web
Rails: 7 basic actions defined on the controller
[Ruby on Rails] Code check using Rubocop-airbnb
part of the syntax of ruby ​​on rails
Prepare the security check environment for Rails 6
Check the processing contents with [rails] binding.pry
Pre-processing to display on the browser (compiler)
Tailwind on Rails
[Windows 10 + ESET] Check the Rails app on the actual iPhone via localhost connection
[Ruby on Rails] Until the introduction of RSpec
When the Ruby on Rails terminal rolls back
Publish the app made with ruby on rails
Determine the current page with Ruby on Rails
How to check Rails commands in the terminal
[Ruby on Rails Tutorial] Error in the test in Chapter 3
Launch Rails on EC2
Docker the development environment of Ruby on Rails project
[Ruby on Rails] How to change the column name
Deploy RAILS on EC2
Ruby on Rails basics
Solve the N + 1 problem with Ruby on Rails: acts-as-taggable-on
Challenge the settings for developing with vue.js on Rails 6
Yay! I'm on Rails!
[Rails / Uniqueness constraint] How to check model validation on the console / Uniqueness constraint for multiple columns
Ruby On Rails Association
(Ruby on Rails6) Reflecting the posted content from the form
Master the [Rails] scope!
Try using the query attribute of Ruby on Rails
What to do when Rails on Docker does not reflect controller changes in the browser
[Rails] Put the same restrictions on multiple pieces of information
How to correctly check the local HTML file in the browser
Created the first LINEbot on AWS Cloud9 (Rails + Heroku deployment)
[Environment construction] Get the Ruby on Rails 6 development environment within 1 hour
A note about the seed function of Ruby on Rails
[Ruby on Rails] Automatically enter the address from the zip code
[Note] About the Fizz_Buzz problem (How Ruby on Rails works)
How to run React and Rails on the same server
How to check the database of apps deployed on Heroku
Resolve ActiveRecord :: NoDatabaseError on rails6
Ruby on rails learning record -2020.10.03
Install Sidekiq pro on Rails
Ruby on rails learning record -2020.10.04
about the where method (rails)
[Ruby on Rails] Debug (binding.pry)
Ruby on rails learning record -2020.10.05
Ruby on rails learning record -2020.10.09
Ruby on Rails config configuration
Scala runs on the JVM
Ruby on Rails basic learning ①
Can Selenium automate the browser?
[Ruby on Rails] about has_secure_password
Ruby on rails learning record-2020.10.07 ②
Rails ~ Understanding the message function ~
Yay! I'm on Rails! Repetition
Commentary on partial! --Ruby on Rails
Ruby on rails learning record-2020.10.07 ①
Cancel Ruby on Rails migration
Ruby on rails learning record -2020.10.06