Commit 40fb6cc
committed
Add a
Ref: rails/rails#45101
Ref: rails/rails#27782
Ref: https://www.sqlite.org/quirks.html#double_quoted_string_literals_are_accepted
Sqlite has a really unfortunate behavior around double quotes. It first
tries to consider them as column names, but if they don't exist it then consider
them as string literals.
Because of this, typos can silently go unnoticed. It would be very useful
for Active Record if this behavior could be disabled.strict: true option.1 parent 09f0276 commit 40fb6cc
3 files changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
69 | 86 | | |
70 | 87 | | |
71 | 88 | | |
| |||
805 | 822 | | |
806 | 823 | | |
807 | 824 | | |
| 825 | + | |
808 | 826 | | |
809 | 827 | | |
810 | 828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
513 | 526 | | |
514 | 527 | | |
0 commit comments