Skip to content

Commit a1ddde1

Browse files
committed
remove deprecated MissingHelperError proxy.
The error was moved outside of the `ClassMethods` module.
1 parent e76379b commit a1ddde1

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

actionpack/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
* Remove deprecated `AbstractController::Helpers::ClassMethods::MissingHelperError`
2+
in favor of `AbstractController::Helpers::MissingHelperError`.
3+
4+
*Yves Senn*
5+
16
* Fix `assert_template` not being able to assert that no files were rendered.
27

38
*Guo Xiang Tan*

actionpack/lib/abstract_controller/helpers.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ def initialize(error, path)
2727
end
2828

2929
module ClassMethods
30-
MissingHelperError = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('AbstractController::Helpers::ClassMethods::MissingHelperError',
31-
'AbstractController::Helpers::MissingHelperError')
32-
3330
# When a class is inherited, wrap its helper module in a new module.
3431
# This ensures that the parent class's module can be changed
3532
# independently of the child class's.

guides/source/4_2_release_notes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ Action Pack
9494

9595
Please refer to the [Changelog][action-pack] for detailed changes.
9696

97+
### Removals
98+
99+
* Removed deprecated `AbstractController::Helpers::ClassMethods::MissingHelperError`
100+
in favor of `AbstractController::Helpers::MissingHelperError`.
101+
97102
### Deprecations
98103

99104
* Deprecated support for setting the `:to` option of a router to a symbol or a

0 commit comments

Comments
 (0)