All threads / Rails for Beginners Part 5: Routes and Route Types Discussion

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Rails for Beginners Part 5: Routes and Route Types Discussion

Reply

I created a step-by-step guide based on this episode: You can view (and comment) at
https://paper.dropbox.com/doc/Rails--BFV_Qh2SUZc9DFBVuC8x6vv2AQ-zLMtQn23IqxkoP6tdzbjL

Reply

Thanks for this, I've tried to follow the guide but get an error page:

wrong constant name [route]Controller inferred by Module from file
/Users/benjaminperry/schedule_tweets/app/controllers/[route]_controller.rb
Possible ways to address this:

  • Tell Zeitwerk to ignore this particular file.
  • Tell Zeitwerk to ignore one of its parent directories.
  • Rename the file to comply with the naming conventions.
  • Modify the inflector to handle this case.
Reply

You are a really great teacher. great content.

Reply

Hi,
I'm getting following error when i open http://localhost:3000/about
AboutController#index is missing a template for request formats: text/html

Please let me know how to resolve this issue.

Reply
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 47,776+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.