diff options
author | T.J. Schuck <tj@tjschuck.com> | 2017-05-04 15:43:19 -0400 |
---|---|---|
committer | T.J. Schuck <tj@tjschuck.com> | 2017-05-04 16:29:00 -0400 |
commit | aa913280584ba63bfc461d0009abd6c32525da9c (patch) | |
tree | f814bde4b4fe689b8c84f5763168edd67fb561ef /activerecord/test/cases/explain_test.rb | |
parent | 3d890b66c1bfbdcabb7ef66e0774e0f01e2ed5d6 (diff) | |
download | rails-aa913280584ba63bfc461d0009abd6c32525da9c.tar.gz rails-aa913280584ba63bfc461d0009abd6c32525da9c.tar.bz2 rails-aa913280584ba63bfc461d0009abd6c32525da9c.zip |
Assorted delegate_missing_to doc fixes
* Fix rdoc code formatting — `tt`, not backticks
* Fix/simplify sentence grammar — should at least just be “and the like”, not “likes”, but this is just general tightening up.
* Add note that delegated methods must be public. Tested here: https://github.com/rails/rails/blob/7ff5ccae94ce2aff76b5f8a31a28e305a047d642/activesupport/test/core_ext/module_test.rb#L359-L365
* Simplify example code for delegate_missing_to. The example had complexity that wasn’t necessary for demonstrating `delegate_missing_to`. This gets rid of a bunch of cruft so the example is more obvious about what’s going on regarding the feature itself.
[ci skip]
Diffstat (limited to 'activerecord/test/cases/explain_test.rb')
0 files changed, 0 insertions, 0 deletions