aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/stubs/test_connection.rb
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2015-05-11 14:03:09 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-01-07 15:50:24 +0530
commitee1534e5ab51fccb0fe3dbc06fba7ffbe44d070f (patch)
tree1d6d5f6834f74ea71797ee90459e2a76924d918f /actioncable/test/stubs/test_connection.rb
parent8bdbf88dfd231f80b8e757b36e77ff72e6b6b83c (diff)
downloadrails-ee1534e5ab51fccb0fe3dbc06fba7ffbe44d070f.tar.gz
rails-ee1534e5ab51fccb0fe3dbc06fba7ffbe44d070f.tar.bz2
rails-ee1534e5ab51fccb0fe3dbc06fba7ffbe44d070f.zip
Kept overridden root method and removed original method
- The root method is defined and documented in Base module and decorated in Resources module. - The documentation in Base module actually talks about method signature of decorated method from Resources module. - Argument handling was moved to decorated method in https://github.com/rails/rails/commit/977455cc2efb94f40b4c0d46d1842be198ed7c4c to handle options such as :as with directly passed path parameter. - To avoid the confusion, removed original root method from Base module and only kept overridden version in Resources module. - References - https://github.com/rails/rails/pull/12208 & https://github.com/rails/rails/pull/12208#issuecomment-24350897.
Diffstat (limited to 'actioncable/test/stubs/test_connection.rb')
0 files changed, 0 insertions, 0 deletions