404페이지 호출될 시 favicon.ico not found 에러가 나는 경우
rails에선 별도의 커스터마이징을 하지 않은 대상에 대해서는 기본 404.html파일을 호출하게 된다.
링크 : https://guides.rubyonrails.org/action_controller_overview.html
Action Controller Overview — Ruby on Rails Guides
Action Controller OverviewIn this guide you will learn how controllers work and how they fit into the request cycle in your application.After reading this guide, you will know: How to follow the flow of a request through a controller. How to restrict param
guides.rubyonrails.org
14.1 The Default 500 and 404 Templates
By default a production application will render either a 404 or a 500 error message, in the development environment all unhandled exceptions are raised. These messages are contained in static HTML files in the public folder, in 404.html and 500.html respectively. You can customize these files to add some extra information and style, but remember that they are static HTML; i.e. you can't use ERB, SCSS, CoffeeScript, or layouts for them.
이때 404가 호출되면서 파비콘이 자동으로 호출이 되는데.
파비콘의 이미지를 기본 어플리케이션 구조중 public이란 폴더아래에서 검색하게 된다.
Learning Rails 5
If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide is the ideal way to get started. Rather than toss you into the middle of the framework’s Model-View-Controller architecture, as many books do, Learning Rails 5 begins w
books.google.co.kr
공식 docs에선 위와 관련한 내용을 찾기 어렵다.
링크 : https://guides.rubyonrails.org/getting_started.html
Getting Started with Rails — Ruby on Rails Guides
Getting Started with RailsThis guide covers getting up and running with Ruby on Rails.After reading this guide, you will know: How to install Rails, create a new Rails application, and connect your application to a database. The general layout of a Rails a
guides.rubyonrails.org