dep: bump rails and mongoid
Bumps rails and mongoid. These dependencies needed to be updated together.
Updates rails
from 6.0.3.5 to 6.1.3
Release notes
Sourced from rails's releases.
6.1.3
Active Support
- No changes.
Active Model
- No changes.
Active Record
Fix the MySQL adapter to always set the right collation and charset to the connection session.
Rafael Mendonça França
Fix MySQL adapter handling of time objects when prepared statements are enabled.
Rafael Mendonça França
Fix scoping in enum fields using conditions that would generate an
IN
clause.Ryuta Kamizono
Skip optimised #exist? query when #include? is called on a relation with a having clause
Relations that have aliased select values AND a having clause that references an aliased select value would generate an error when #include? was called, due to an optimisation that would generate call #exists? on the relation instead, which effectively alters the select values of the query (and thus removes the aliased select values), but leaves the having clause intact. Because the having clause is then referencing an aliased column that is no longer present in the simplified query, an ActiveRecord::InvalidStatement error was raised.
An sample query affected by this problem:
Author.select('COUNT(*) as total_posts', 'authors.*') .joins(:posts) .group(:id)
... (truncated)
Commits
-
5aaaa16
Preparing for 6.1.3 release -
e322277
Merge pull request #41463 from jhawthorn/isolated_engine_controller_subclasses -
4f5e6b5
Revert "Merge pull request #41232 from code4me/fix-malformed-packet-master" -
7f343cb
Merge pull request #41454 from ghiculescu/patch-2 -
7ff5f60
Fix branch forrails new --edge
-
eddb809
Merge pull request #41441 from jonathanhefner/apidocs-inline-code-markup -
43870f3
Merge pull request #41436 from santib/fix-active-storage-sharpening-docs -
2a7ff0a
Merge pull request #41419 from smartygus/activerecord-findermethod-include-wi... -
442c6f1
Merge PR #41356 -
48af94b
Merge pull request #41394 from afrase/recursive-association-fix - Additional commits viewable in compare view
Updates mongoid
from 7.2.0 to 7.2.1
Release notes
Sourced from mongoid's releases.
7.2.1
This patch release in the 7.2 series adds compatibility with Rails 6.1 and fixes the following issues:
Commits
-
69a06cb
Release 7.2.1 -
268b1c5
Copy updated cert from bson-ruby -
74bf2d7
MONGOID-5051 Fix JRuby test failures on master (#4957) -
6b6413a
Add ruby-debug for debugging in JRuby (#4956) -
a0de3ac
copy .evergreen from master -
bc1c497
Integrate docker tooling with Mongoid -
e542267
use https protocol for spec/shared submodule (#4954) -
e49b9af
MONGOID-4962 Clarify storage of referenced associations (#4949) -
4eb3543
MONGOID-5031 Document the need to preload child classes when using discrimina... -
02228e2
MONGOID-5025 Document caveats of embedded documents without _id field (#4948) - Additional commits viewable in compare view