Replaces the Record.create method with one that takes a hash of
attributes.