Dear ruby on rails group, Good day!
I am now learning ruby on rails as a newbie to be able to make a simple website from scratch. I am enrolled for onemonth course on Rails on Ruby for Web Development. One of their exercise is to change the default Rails page that can be seen from "localhost:3000" into a blank page with two sentences (basic strings). I am running this with Git Bash on Windows. When inputting command "rails generate controller pages home" and open "localhost:3000/pages/home" in my browser, *this <https://p4.zdusercontent.com/attachment/386746/Rk1amQSTd7qvrX1p3JpJqXA3W?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..pukci7S4kDuvSGwR0dPLgA.ow5-VEbL06KIiRH-uDCsNsv3Z6hWE7Bi3oS2G_SUAhkOKjaYbravHXpyJF-16Bi4EclXF8qdNMSLu2ADLfaUEQ0AMLS7Nm3tCVuJUSgIMpCDW63CG3E30rAeI0nUgOGiRwItCB66Pv7CiXmJfU2REQT_4Tz3PpLRPKlDPVDoaal4z1uEEzh_0Bt3_I3hU-nwMb7tBVcwgoI8D8EWcNKkKoqaDCm6zc_XIXNWQvVGoLt_r_-H30pR3MmpOqk1zrQEp2l57pzCePxCE74mehh_Eg.zmb_xwuPK1dR5uMP75oPog> *is what I got instead of a blank page with two sentences. And this is what I got in the Git Bash; _______________________________________________________________________________________ Started GET "/pages/home" for 127.0.0.1 at 2017-11-21 13:42:40 +0800 Processing by PagesController#home as HTML Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (2.0ms) Completed 500 Internal Server Error in 6707ms ActionView::Template::Error (TypeError: Object doesn't support this property or method): 4: <title>Omrails</title> 5: <%= csrf_meta_tags %> 6: 7: <%= stylesheet_link_tag 'application', media: 'all', 'data-turboli nks-track': 'reload' %> 8: <%= javascript_include_tag 'application', 'data-turbolinks-track': 'r eload' %> 9: </head> 10: app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html _erb__466066971_29636976' Started GET "/pages/home" for 127.0.0.1 at 2017-11-21 13:45:08 +0800 Processing by PagesController#home as HTML Rendering pages/home.html.erb within layouts/application Rendered pages/home.html.erb within layouts/application (1.0ms) Completed 500 Internal Server Error in 1696ms ------------------------------------------------------------------------- Please kindly help me to understand, as I am a complete newbie who wants to have a very basic back-end programming. Without understanding this I am afraid my learning has come to a pause. Thanks very much for your kindness, and I hope you all have a great day! Cordially, Teguh Perdana Putra -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dfca4920-3b99-4443-96f0-e4b88ecccc68%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.