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.

Methods

Public Instance methods

This code is copied and pasted from ActiveSupport, but with :bootstrap hardcoded as the feature name, and with the deprecation warning removed.

[Validate]