Got a Rails app on Heroku. I want to limit the size of a file upload if possible. The file is processed as a StringIO object, so the file contents will be processed in memory (have no need to write an intermediate file to a filesystem).
Ordinarily, I would limit upload size on the web server. But with Heroku, what options are there? I realize I could go with a Flash uploader, but I'm hoping to avoid requiring Flash on the client, if at all possible.