This is a nice introduction piece to the wonders of Rails routes. As a Rails developer, I often find myself having to go back and search for routes. A cool beginner trick is to combine the rails routes command with grep.
By using rails routes | grep articles you can quickly find routes that contain the keyword articles. This is especially useful when working in a large codebase.
As you start to become more comfortable with Rails you'll learn the cool tips like concerns to help simplify your routes!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is a nice introduction piece to the wonders of Rails routes. As a Rails developer, I often find myself having to go back and search for routes. A cool beginner trick is to combine the rails routes command with grep.
By using
rails routes | grep articles
you can quickly find routes that contain the keyword articles. This is especially useful when working in a large codebase.As you start to become more comfortable with Rails you'll learn the cool tips like
concerns
to help simplify your routes!