squeel
squeel copied to clipboard
Undefined method `alias_method_chain'
Gem Load Error is: undefined method `alias_method_chain' for #Class:ActiveRecord::Associations::JoinDependency Did you mean? alias_method Backtrace for gem load error
this error arrised the after i added the gem "Squeel"
I am also having this issue, after i updated to rails-5 from rails 4. alias_method_chain has been removed from rails 5 i believe.
For anyone who is looking for a alternate for this, baby-squeel looks promising. I haven't used it myself. For my scenario we rewrote all the squeel DSL we were using in ActiveRecord.
Is there any solution that I can continue using this gem in my application in rails 5.2? Or any other alternate gem or fork with support of 5.2 rails version.
I see this error after I added squeel to a Rails 5.2 project and try to start the console
@Hirurg103 i think this project isn't maintained anymore. We moved away from it after no response from the authors. i think you better do too.
We moved away from it after no response from the authors. i think you better do too.
I think that it makes sense. Thank you @nijeesh4all