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)
The following imports named helpers for me in 3.2.8:
> include Rails.application.routes.url_helpers