[Hack] to make attachment_fu work with incomatible versions of ruby and rails