All threads / application.html.erb Help
Ask A Question

Notifications

You’re not receiving notifications from this thread.

application.html.erb Help

Rob Thomas asked in General

Hello,

I'm a Rails newbie and I'm following a few tuts but I'm having trouble finding the application.html.erb file? I'm using Rails 5.2.2 and Ruby 2.6.0.

Thank
Rob

That should be in app/views/layouts/application.html.erb

Hey Chris, for some reason it's not showing.

Strange, maybe it got deleted somehow?

If you generate a new Rails app, you can just copy the file from that one and put it into your existing one.

Got it thanks Chris, and keep up the good work.

Rob

Anytime! Keep posting if you have more questions. 🙌

Join the discussion

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

Join 61,501+ 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.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.