lib/koine/repository/persistence/adapter/sql.rb in koine-repository-1.1 vs lib/koine/repository/persistence/adapter/sql.rb in koine-repository-1.1.1

- old
+ new

@@ -19,10 +19,10 @@ def find(id) find_one_by(id_field => id) end def find_one_by(criterias) - table.where(criterias).first! + table.where(criterias).first end def find_all_by(criterias) table.where(criterias) end