Closed varsis closed 9 years ago
When using Model.one() I get no error, just null error and null object back. Would be nice to have the same error output as Model.get().
This is by design. .one is merely a thin wrapper around .find which returns the first item.
.one
.find
When using Model.one() I get no error, just null error and null object back. Would be nice to have the same error output as Model.get().