Augmentation of an Imperfect Memory.
Just found out how to test named routes in the Rails consoleĀ here:
script/console >> app.webpages_url :site => "foo" => "http://www.example.com/foo/webpages" >>
The mysterious app object is described here.
You must be logged in to post a comment.
Copyright © 2010 Sam Pierson's Blog - All Rights ReservedPowered by WordPress · Atahualpa Theme by BytesForAll