| Module | BootstrapForm::Aliasing |
| In: |
lib/bootstrap_form/aliasing.rb
|
This module implements the old ActiveSupport alias_method_chain feature with a new name, and without the deprecation warnings. In ActiveSupport 5+, this style of patching was deprecated in favor of Module.prepend. But Module.prepend is not present in Ruby 1.9, which we would still like to support. So we continue to use of alias_method_chain, albeit with a different name to avoid collisions.