Creating Vanity URLs in Rails

A vanity URL is a search engine optimized (SEO) URL. Instead of having a meaningless URL like http://storeofthefuture.com/products/2015 wouldn’t http://storeofthefuture.com/products/hoverboard be better and more meaningful? It’s fairly straightforward to make URLs nicer in Rails. I’ll walk you through the process. …Continue reading

What is a has_many :through association in Ruby on Rails? | Quick Tip

In this Treehouse Quick Tip, Jason demystifies the concepts behind what a has many :through association is in Ruby on Rails. We’ll figure out what a join table is, how different models fit together, and the syntax needed to make …Continue reading