Working on a Rails project and the client wants files and the database to be deployed in-house. We are working with Heroku, which doesn't have a write interface and the application allows users to upload documents.
The database shouldn't be a problem, but original intention was to host files with Amazon. That isn't an option now and so I am looking for a way to host files on the same machine as the database.
I am thinking to write a Rack application as a sort of mini file server, like an API. There's also the aspect of security because it's going to be a multi-tenant application. A lot of posts I found were from a year back or so, suggesting writing merb or sinatra apps, but I'm pretty sure that with Rails 3, we're gonna have a more streamlined approach.
Is this a good way to go about doing this?