Wednesday, November 14, 2007

Further map.resources Skepticism

I think map.resources is the devil. This:

<%= link_to 'New widget's thing', new_widget_thing_path(@widget) %>

is nifty. Explicit hrefs are the modern goto, after all. But it's not nifty enough to justify this:

def new

def create

which bothers me so much I can't even stand it. (map.resources won't let you post to a new.)