Added attachment. Rewrited find method of Record.