…ing and closing files.
…g that attachments never get uploaded or deleted twice.
…on't end up with blank files when file pointer is not at beginning.
…d of define method.
… name. Yes I think about stuff like this.
…ly require database instance method and not class method. Makes it easier to use with embedded documents.
…e, and type and sends everything else to grid io instance. Switched from class definitions to instance ones for assigned files and now storing attachment_names in class method.