ageweke / fortitude

Views Are Code: use all the power of Ruby to build views in your own language.
MIT License
73 stars 16 forks source link

Use alias_method in place of alias_method_name #60

Closed karlhe closed 2 years ago

karlhe commented 5 years ago

Currently Fortitude still uses the alias_method_chain method instead of Module#prepend for old Ruby and JRuby.

At least when testing on JRuby 9.2.0.0, it still seems to have the issues mentioned in the comments where it stack overflows, as an interim solution I think we just replace it with equivalent code so Rails 5+ can be used.