Question about creating rails app and FTP

I have a simple question about creating rails applications.

I am signing up with dreamhost so that i can put my rails apps on the
web (after giving up on trying to make my current VPS Plesk hosting work
with rails).

My main question is:
when creating a new rails app, can i create it using the rails command
on my computer and then upload the entire directory structure to my
domain account on dreamhost? I guess i’m making sure that i dont have
to *create the app using ssh to dreamhost and i can do it all locally
and then just FTP it up.

I know this seems basic but i am new as you can tell.