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

Deal with the parameter handling which was changed in Rails 7.0.6 #61

Merged
merged 5 commits into from
Jul 30, 2023

Conversation

khiav223577
Copy link
Owner

Resolve #60

The implementation detail is in khiav223577/rails_compatibility#17

We're extracting the code that is highly likely to be affected by Rails into a separate gem. This allows us to add more test cases and achieve better test coverage.

khiav reoy added 5 commits July 30, 2023 13:56
Since github flow fails to install bundler in Ruby 2.2.

The error message:
 Bundler 2 requires Ruby 2.3+, using Bundler 1 on Ruby <= 2.2
  /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v ~> 1.0
  ERROR:  While executing gem ... (RuntimeError)
      Marshal.load reentered at marshal_load
  Took   0.42 seconds
Error: The process '/opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem' failed with exit code 1
In the test setting Test (MONGOID, 3.1, mongoid_73.gemfile)

got this error:
SimpleCov failed with exit 1/home/runner/work/pluck_all/pluck_all/test/mongoid/support/seeds.rb:2:in `<top (required)>': uninitialized constant User (NameError)
@khiav223577 khiav223577 merged commit c50d1e1 into master Jul 30, 2023
70 checks passed
@khiav223577 khiav223577 deleted the fix/cast_values branch July 30, 2023 09:22
khiav223577 pushed a commit to khiav223577/deep_pluck that referenced this pull request Dec 24, 2023
It was fixed in pluck_all, so we update the dependency.

See: khiav223577/pluck_all#61
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

Successfully merging this pull request may close these issues.

Rails 7.0.6 breaks pluck_all
1 participant