Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot load such file -- polyamorous/activerecord_5.2.2_ruby_2/join_association #987

Closed
gabrieletassoni opened this issue Dec 4, 2018 · 9 comments

Comments

@gabrieletassoni
Copy link

rails 5.2.2
ransack 2.1.0

Today I just made a bundle update and rails upgraded to 5.2.2, from there on, I tried to issue a

rails g migration AddLinkedinAuthKeys

And it presented me with that error:

cannot load such file -- polyamorous/activerecord_5.2.2_ruby_2/join_association

@karensg
Copy link

karensg commented Dec 4, 2018

Same issue, looks like it was fixed 5 days ago already. The fix works for me.
Can we release a new version? :)

@vcsjones
Copy link

vcsjones commented Dec 4, 2018

I think this is fixed by #985. We just need to wait for a release to occur. The thread there indicates a release should be coming out soon, perhaps tomorrow.

@vcsjones
Copy link

vcsjones commented Dec 4, 2018

If you don't want to rollback rails, you can unblock yourself with:

gem 'ransack', github: 'activerecord-hackery/ransack', branch: '8daa87a0389d380f7c9fd7ea9cb5bda634d5dc7d'

@GBH
Copy link

GBH commented Dec 5, 2018

Version 2.1.1 is out and it works with Rails 5.2.2

@gabrieletassoni
Copy link
Author

Thank you very much, already tested, it works for me.

@sudoremo
Copy link

sudoremo commented Dec 5, 2018

Yep, for me as well. Thanks a bunch @GBH 👍

@gregmolnar
Copy link
Member

You're welcome guys.

@parse
Copy link

parse commented Dec 6, 2018

Thanks @gregmolnar !

DeeDeeG added a commit to RefugeRestrooms/refugerestrooms that referenced this issue Mar 21, 2019
* Gemfile[.lock]: Update Rails to 5.2.2.1

* Gemfile[.lock]: Update bootstrap-sass to >= 3.4.1

* Gemfile[.lock]: Update devise to ~> 4.6

* Gemfile.lock: Bump ransack to fix boot-time errors

(See:
activerecord-hackery/ransack#987 and
activerecord-hackery/ransack#985 )

* yarn.lock: Update JS dependencies
@trojanh
Copy link

trojanh commented Feb 27, 2020

Version 2.1.1 is out and it works with Rails 5.2.2

this version upgrade also helps fix following issues:

NameError:
  uninitialized constant Controller

and

NameError:
  uninitialized constant Shoulda
# ./spec/spec_helper.rb:201:in `<top (required)>'

Adding it here to save someone's time though they are not related to this gem.

Thanks for the fix.

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

No branches or pull requests

8 participants