Problems deploying Rails application

I am trying to deploy a Rails application on Dreamhost. My application
works just fine in my laptop using WEBrick. The problem that I have is
that I currently have my website in the public folder. I can reference
everything just fine from if it is in the public folder, but if I click
in a link that is an actual controller/action I get an error that the
file does not exist. I followed all the instructions stated in the
Dreamhost/Ruby/Rails Wiki. The way I am referencing the controller from
the index.html is like so:


this is (of course) what I get:

File not found

Change this error message for pages not found in public/404.html

Thanks a lot for your help.

Carlos Rivera