I'm looking to setup routes.rb to support vanity URLs that do not require a prefix. For example not requiring the "articles/" in
mysite.com/articles/seo-url-here. I want just
How can I setup routes.rb so that when a url hits my site: routes.rb looks to see if the value of
seo-url-here in the url matches a record in my database in the table
Article.seo_url. If not match is found, then routes.rb should move on down through the rest of the routes.rb file.