Skip to content

Commit 988334a

Browse files
p-mongofrancelwebdevp
authored
MONGOID-5027 Rails 6.1 support (#4938)
* Update mongoid.gemspec Hi, I use rails 6.1 and mongoid and i get error when i run bundle. So i update the dependency to activemodel <= 6.1 . * allow everything less than 6.2 * test on Rails 6.1 and 6.0 * Update halted_callback_hook to take the name argument added in Rails 6.1. See Rails commit 06dd162fb3ae67f202a0a59da1ce94317d0a3e22 * MONGOID-4731 use Errors#copy! to properly copy errors for Rails 6.1 (and also earlier versions) * update compat tables for Rails 6.1 * bundle exec rake Co-authored-by: Francel <[email protected]> Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent b1f3171 commit 988334a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

source/tutorials/mongoid-installation.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,48 +227,63 @@ are supported by Mongoid.
227227
:class: compatibility-large no-padding
228228

229229
* - Mongoid
230+
- Rails 6.1
230231
- Rails 6.0
231232
- Rails 5.2
232233
- Rails 5.1
233234
- Rails 5.0
234235
- Rails 4.2
235236

237+
* - 7.3
238+
- |checkmark|
239+
- |checkmark|
240+
- |checkmark|
241+
- |checkmark|
242+
-
243+
-
244+
236245
* - 7.2
246+
- |checkmark| [#rails-6.1]_
237247
- |checkmark|
238248
- |checkmark|
239249
- |checkmark|
240250
-
241251
-
242252

243253
* - 7.1
254+
- |checkmark| [#rails-6.1]_
244255
- |checkmark|
245256
- |checkmark|
246257
- |checkmark|
247258
-
248259
-
249260

250261
* - 7.0
262+
- |checkmark| [#rails-6.1]_
251263
- |checkmark| [#rails-6]_
252264
- |checkmark|
253265
- |checkmark|
254266
-
255267
-
256268

257269
* - 6.4
270+
-
258271
-
259272
- |checkmark|
260273
- |checkmark|
261274
-
262275
-
263276

264277
* - 6.3
278+
-
265279
-
266280
- |checkmark|
267281
- |checkmark|
268282
-
269283
-
270284

271285
* - 6.2
286+
-
272287
-
273288
- |checkmark|
274289
- |checkmark|
@@ -305,4 +320,7 @@ are supported by Mongoid.
305320

306321
.. [#rails-6] Rails 6.0 requires Mongoid 7.0.5 or later.
307322

323+
.. [#rails-6.1] Rails 6.1 requires Mongoid 7.0.12, 7.1.7 or 7.2.1 in the
324+
respective 7.0, 7.1 and 7.2 stable branches.
325+
308326
.. include:: /includes/unicode-checkmark.rst

0 commit comments

Comments
 (0)