Skip to content

Commit 75d6ea3

Browse files
authored
Merge pull request rails#42772 from alkesh26/typo-fix-activerecord-changelog
[ci-skip] Typo fix in activerecord changelog
2 parents a2cb0b2 + a6ce872 commit 75d6ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activerecord/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@
100100

101101
*Jorge Manrubia*
102102

103-
* The MySQL adapter now cast numbers and booleans bind parameters to to string for safety reasons.
103+
* The MySQL adapter now cast numbers and booleans bind parameters to string for safety reasons.
104104

105-
When comparing a string and a number in a query, MySQL convert the string to a number. So for
105+
When comparing a string and a number in a query, MySQL converts the string to a number. So for
106106
instance `"foo" = 0`, will implicitly cast `"foo"` to `0` and will evaluate to `TRUE` which can
107107
lead to security vulnerabilities.
108108

0 commit comments

Comments
 (0)