All threads / A Look Into Routing Discussion
Ask A Question

Notifications

You’re not receiving notifications from this thread.

A Look Into Routing Discussion

Discussion for A Look Into Routing
Sirbu Nicolae-Cezar ·

railscasts.com was first. you are like the google+ thing. which is cool for you :p. keep up with the good videos.

Victor Cortes ·

For users books you can update your route to `resources :books, only: [:show, :index]`. So that, Rails only have to generate those routes and you can explain `only` and `except` options too.

Yes! I forgot to mention that. Thanks for sharing. :)

rails cast is dead. long live the GoRails.com

Greate cast, thank you ! What is greate as well is that you touched a little bit the devise settings to apply. Really helpful !

Nice work, routes is much clearer for me now!
Which bash theme do you use?

It's a Monokai theme for ZSH. You can download it here https://github.com/excid3/d...

I hope gorails will replace rails cast. rails cast tutorials are almost useless for me because most of them are outdated.

Sure some of RailsCast's content may be outdated but the fundamentals are still there, lots of cool tricks in their pro series, learned a ton from their site just on caching alone.

Whats a good rule of thumb for what verbs to use?

Whats a good rule of thumb for choosing the route verbs in this set up, i don't get why you used what you use there.

hiyas how i can add a middleware in to the routes ?

Liked hearing the meows in the background :)

He loves running around and being noise when I'm trying to record. 😺

when putting auth checks on route, is the auth check on the controller then doubling the functionality?

is the modules directive in the route still necessary, or could you just scope :admin the whole route block?

Join the discussion

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

Join 70,337+ 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

    © 2023 GoRails, LLC. All rights reserved.