Chainable is an alternative to alias_method_chain, that uses inheritance, rather than aliasing. It does the following when "chaining" a method:
* copy the original method to a new model
* include the model
* overwrite the method
Thus you can use super and keep your method list clean, too! It even supports a (rather dangerous) auto chaining mode, so you do not have to explicitly chain a method, but chain a method whenever it would be overwritten instead.
Commercial Use
Modify
Distribute
Hold Liable
Use Trademarks
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryMar 27 2024 — Apr 26 2024
|
12 Month SummaryApr 26 2023 — Apr 26 2024
|