0

I am new to Rails and following tutorial video, but when I followed then now am getting error:

enter image description here

The step that I followed was I generate a controller by following this command.

rails g controller greeter hello     

Then started rails server and typed //localhost:3000/greeter/hello

There I got this error message:

enter image description here

I haven't change any default, which was created by Rails.

How can get this page display. I even checked route.rb but it was fine.

Sebastián Palma
  • 32,692
  • 6
  • 40
  • 59
  • here is my file which i have created https://github.com/jhamlal/Coursera_rail.git –  Jul 08 '17 at 03:02
  • Try replacing `application` with `default`, line 7 and 8 in `application.html.erb`. – Sebastián Palma Jul 08 '17 at 03:15
  • Are you on windows / Internet Explorer? If yes, this could be because of the coffeescript in turbolinks. [check this out](https://stackoverflow.com/questions/28240245/what-do-i-need-to-do-to-get-the-blog-to-work-in-rails-4-2) – Karthik Ravichandran Jul 08 '17 at 03:42
  • https://drive.google.com/open?id=0B5n8izNm8EYOSVlKVUNOZmlTWnM –  Jul 08 '17 at 04:30
  • I have followed both and update file on git also. –  Jul 08 '17 at 04:38

0 Answers0