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 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.

Reply
Victor Cortes 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.

Reply

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

Reply

rails cast is dead. long live the GoRails.com

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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.

Reply

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

Reply

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.

Reply

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

Reply

Liked hearing the meows in the background :)

Reply

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

Reply

Came here to say this. :) 🐱

Reply

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?

Reply
Join the discussion
Create an account Log in

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

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

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