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 SummaryDec 13 2024 — Jan 12 2025
|
12 Month SummaryJan 12 2024 — Jan 12 2025
|