got file upload working with rails 3