Thinking Rails #1 - Building urls
When you find yourself constructing urls in code, you probably should be using the routing system with a combination of to_param in order to construct links to within your app.
Written by Matthew Ling
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#