helper for root paths

i'm not sure what to do when my production environment is not in the
root path of the domain when it comes to including things like flash
files.

when testing, everything works great, but since i don't have a helper
like image_tag, i have to change the url of the flash file each time i
test and then change it back when i deploy the changes.

is there a helper in rails that will just add the root prefix to urls
based on the environment?

If there isn't, I think you just wrote one. :slight_smile:

///ark