It’s been a while since I’ve used rails (used 2.* a fair bit) and I’m
getting back into it again.
I’ve noticed something strange with the routes file - when I generate a
controller with the usual 7 actions, routes.rb is flooded with get
patterns.
Is this normal?
For crud controllers that hava a model behind them, I’ve been removing
them and adding “resource :controller-name” instead - is this
usual(best) practice? What’s the the current recommended approach?
many thanks for reading.