draper/lib
Yen-Nan Lin cc23669889 Let decorator_class infer anonymous class' decorator from superclass (#820)
* Let decorator_class infer anonymous class' decorator from superclass

* Replace constantize with safe_constantize on decorator's private methods

* Don't raise NameError on decorator private methods.
To prevent rescuing and checking if NameError is from internal decorator
private methods, we change to return nil on these private methods.

* Revise decorator inferred_object_class and collection_decorator_name
based on code review comments
2017-09-14 07:48:01 -07:00
..
draper Let decorator_class infer anonymous class' decorator from superclass (#820) 2017-09-14 07:48:01 -07:00
generators Refactor generator for TestUnit, RSpec (#816) 2017-07-20 08:51:30 -05:00
draper.rb Add support for Rails 5 API-only applications (#793) 2017-04-03 08:19:42 -05:00