Some modification on pothoven-attachment_fu gem to work with rails 2.3