What do I have to do so that this will work in the console (assuming song is defined, obviously):
song
edit_song(:id => song.id)
You have access to an app object which you can use to test routes on.
app
>> app.root_url => "http://www.example.com/" >> app.root_path => "/"