Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Undefined method `alias_method_chain' #429

Open
silambarasanmuthuvel opened this issue Mar 19, 2019 · 5 comments
Open

Undefined method `alias_method_chain' #429

silambarasanmuthuvel opened this issue Mar 19, 2019 · 5 comments

Comments

@silambarasanmuthuvel
Copy link

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"

@nijeesh4all
Copy link

nijeesh4all commented Sep 24, 2019

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.

@abubakar-bilal
Copy link

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.

@Hirurg103
Copy link

Hirurg103 commented Dec 10, 2019

I see this error after I added squeel to a Rails 5.2 project and try to start the console

@nijeesh4all
Copy link

@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.

@Hirurg103
Copy link

Hirurg103 commented Dec 19, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants