This post originated from an RSS feed registered with Ruby Buzz
by rwdaigle.
Original Post: What's New in Edge Rails: Use Rake to List Your Routes
Feed Title: Ryan's Scraps
Feed URL: http://feeds.feedburner.com/RyansScraps
Feed Description: Ryan Daigle's various technically inclined rants along w/ the "What's new in Edge Rails" series.
all_articles GET /articles;all/ {:action=>"all", :controller=>"articles"}search_articles GET /articles;search/ {:action=>"search", :controller=>"articles"}
For those of us not riding edge, it’s pretty easy to get access to this task in your app:
This is particularly useful in RESTful implementations as there’s lot of routing magic happening for you under the covers. Now you have the means to take a harmless peek under said covers.