jgraichen/acfs — pull request #17 by nicolas-fricke (2014-02-04 14:23:26+00:00)
Title: Feature: add .find_by! method for raising exception if no object can be ...

...loaded

`.find_by` will return `nil` if no object can be found and call optional callback on `nil`. Use `.find_by!` to raise an `Acfs::ResourceNotFound` exception if no object can be found. `.find_by!` will only invoke the optional callback if an object was successfully loaded.