We have a RoR 3.2 site on Heroku using their production tier PostgreSQL database.
Our site users occasionally upload images of 0.5 - 2MB in size. For different reasons
As mentioned by others the better option would be storing images in S3 or something.
Still Check out following link for storing image in Heroku PostgreSQL database
Upload images in database