draper/lib
Igor Springer 4439ed8e84
fix: Check only object's private method when preventing delegati… (#875)
https://github.com/drapergem/draper/pull/849 introduced a valid fix to prevent calling object's public method when a decorator overwrites it through a private one. There is one caveat, though. `private_methods` methods has `all` parameter set to `true` by default (https://ruby-doc.org/core-2.7.0/Object.html#method-i-private_methods)`. As a result all private methods are returned, instead of only the ones defined on the object.

This commit fixes the above issue by setting the `all` parameter to `false`.
2020-02-11 10:47:49 -06:00
..
draper fix: Check only object's private method when preventing delegati… (#875) 2020-02-11 10:47:49 -06:00
generators Refactor generator for TestUnit, RSpec (#816) 2017-07-20 08:51:30 -05:00
draper.rb feat: Include ORM associations in CollectionDecorator (#845) 2019-02-25 10:44:19 -06:00