私はRailsの初心者です。現在、ruby.railstutorial.org のオンライン チュートリアルに取り組んでいます。第 5 章に行き詰まりました。自分のマシンでサンプル アプリを実行しようとすると、次のエラーが返されます。
NoMethodError in Static_pages#home
Showing C:/rails_project/next_app/app/views/layouts/application.html.erb where line #4 raised:
undefined method `full_title' for #<#<Class:0x32de058>:0x32e47a8>
Extracted source (around line #4):
1: <!DOCTYPE html>
2: <html>
3: <head>
4: <title><%= full_title(yield(:title)) %></title>
5: <%= stylesheet_link_tag "application", media: "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
Rails.root: C:/rails_project/next_app
ちょっとした説明: 名前を「Sample_app」から「Next_app」に変更しました
手伝ってくれてありがとう!
Ps。私の英語でごめんなさい。