jcasimir/draper — pull request #188 by cookrn (2012-05-09 16:11:58+00:00)
Title: Fix for Rails Loading Problems

Changes:

* Add `app/decorators` to Rails eager autoload-ing paths
* Ensure that our decorators are loaded after every request in `development`, or at least once at app boot in non-`development` environments with a `to_prepare` block

With these changes, users should now be able to call `Model.new.decorator` without ever explicitly referencing their decorator constant i.e. `ModelDecorator`.

( This is in reference to Issue #32 )