Make Delegated Methods Private in Rails
Calling delegate
in the private
visibility scope of a class has no effect in Rails. Rails 6 has a way to allow making delegated methods private, but read on to see how this can be done in Rails 5.2 or earlier: https://nithinbekal.com/posts/rails-delegate/
Post a comment