search for: resource_hacks

Displaying 2 results from an estimated 2 matches for "resource_hacks".

2007 Jun 19
1
singular resource paths
I am working on an application where I have the urls setup like this: http://www.foo.com/jdhale where jdhale is the username for the user. I do this with a plugin called resource_hacks. Other than some weird errors when calling some url generator methods on nested resources, this works fine. However, I get the impression that using resource_hacks is no longer necessary. So, my question is this: Is there a way to accomplish the same thing in Rails 1.2.3 without using resource_...
2006 Aug 08
2
Resources and pretty URLS
Using the brand-spanking new map.resources for REST goodness, is there a way to pass in additional parameters, or do I have to go back to standard routes. For example, is there a way to use the map.resources to response to urls like: /blog/2005/02/03/ => :controller => :blog, :action => :show, :year => 2005, :month => ''02'', :day => ''03''