Quick Tip: Override Rails Generated URLs
I explore a quick and simple way to change the default URLs generated for a Ruby on Rails resource. With this tip, there’s no need to modify the usage of URL helpers or anything else in your code. After making the change URLs for that resource will be generated as you’ve specified them.