aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md49
1 files changed, 39 insertions, 10 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 3dd973d64b..736745c3cd 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,31 @@
+* Fix redefine a has_and_belongs_to_many inside inherited class
+ Fixing regression case, where redefining the same has_an_belongs_to_many
+ definition into a subclass would raise.
+
+ Fixes #14983.
+
+ *arthurnn*
+
+* Add a properties API to allow custom types and type casting behavior
+ to be specified. Will enable many edge cases to be deprecated, and
+ allow for additional interesting features in the future.
+
+ *Sean Griffin*
+
+* Fix has_and_belongs_to_many public reflection.
+ When defining a has_and_belongs_to_many, internally we convert that to two has_many.
+ But as `reflections` is a public API, people expect to see the right macro.
+
+ Fixes #14682.
+
+ *arthurnn*
+
+* Fixed serialization for records with an attribute named `format`.
+
+ Fixes #15188.
+
+ *Godfrey Chan*
+
* When a `group` is set, `sum`, `size`, `average`, `minimum` and `maximum`
on a NullRelation should return a Hash.
@@ -16,13 +44,14 @@
* Change belongs_to touch to be consistent with timestamp updates
- If a model is set up with a belongs_to: touch relatinoship the parent
+ If a model is set up with a belongs_to: touch relationship the parent
record will only be touched if the record was modified. This makes it
consistent with timestamp updating on the record itself.
*Brock Trappitt*
-* Fixed the inferred table name of a HABTM auxiliar table inside a schema.
+* Fixed the inferred table name of a has_and_belongs_to_many auxiliar
+ table inside a schema.
Fixes #14824
@@ -65,7 +94,7 @@
*Aaron Nelson*
-* Fix how to calculate associated class name when using namespaced `has_and_belongs_to_many`
+* Fix how to calculate associated class name when using namespaced has_and_belongs_to_many
association.
Fixes #14709.
@@ -118,7 +147,7 @@
*Innokenty Mikhailov*
-* Allow the PostgreSQL adapter to handle bigserial pk types again.
+* Allow the PostgreSQL adapter to handle bigserial primary key types again.
Fixes #10410.
@@ -133,10 +162,10 @@
*Yves Senn*
-* Fixed HABTM's CollectionAssociation size calculation.
+* Fixed has_and_belongs_to_many's CollectionAssociation size calculation.
- HABTM should fall back to using the normal CollectionAssociation's size
- calculation if the collection is not cached or loaded.
+ has_and_belongs_to_many should fall back to using the normal CollectionAssociation's
+ size calculation if the collection is not cached or loaded.
Fixes #14913, #14914.
@@ -180,10 +209,10 @@
*Eric Chahin*, *Aaron Nelson*, *Kevin Casey*
-* Stringify all variable keys of mysql connection configuration.
+* Stringify all variables keys of MySQL connection configuration.
- When the `sql_mode` variable for mysql adapters is set in the configuration
- as a `String`, it was ignored and overwritten by the strict mode option.
+ When `sql_mode` variable for MySQL adapters set in configuration as `String`
+ was ignored and overwritten by strict mode option.
Fixes #14895.