neopoly/rubyfox-sfsobject — pull request #1 by techfolio (2012-12-12 15:12:30+00:00)
Title: Add ArgumentError on unwrapping nil values

Stumbled a few times about this behaviour, changed the following Exception:

`NoMethodError: undefined method 'type_id' for nil:NilClass`
_--> (requires "p-debugging")_

to

`ArgumentError: nil value for :effect`
_--> (gives you hints about the cause of the problem)_