attachment in the database with thumbnail generation - rails3

What is the best solution for handling blob database storage with
rails3?
I used attachment_fu before, but it doesn't seem to work well with
rails3. Anyone got it working?
paperclip seems nice, but i need database storage for backups and
security.