Commit d1225c3
Fix migration error: Use .all.group_by instead of .group_by on model class
The AddPositionToImageUploads migration was calling group_by directly on the ImageUpload class instead of on a collection. This fixes the NoMethodError by properly calling ImageUpload.all.group_by.
Also updates Gemfile.lock with arm64-darwin platform support after bundle install.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3607e1f commit d1225c3
File tree
2 files changed
+7
-1
lines changed- db/migrate
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1886 | 1886 | | |
1887 | 1887 | | |
1888 | 1888 | | |
| 1889 | + | |
1889 | 1890 | | |
1890 | 1891 | | |
1891 | 1892 | | |
| |||
1964 | 1965 | | |
1965 | 1966 | | |
1966 | 1967 | | |
| 1968 | + | |
1967 | 1969 | | |
1968 | 1970 | | |
1969 | 1971 | | |
| |||
2019 | 2021 | | |
2020 | 2022 | | |
2021 | 2023 | | |
| 2024 | + | |
| 2025 | + | |
2022 | 2026 | | |
2023 | 2027 | | |
2024 | 2028 | | |
| |||
2213 | 2217 | | |
2214 | 2218 | | |
2215 | 2219 | | |
| 2220 | + | |
2216 | 2221 | | |
2217 | 2222 | | |
2218 | 2223 | | |
| |||
2273 | 2278 | | |
2274 | 2279 | | |
2275 | 2280 | | |
| 2281 | + | |
2276 | 2282 | | |
2277 | 2283 | | |
2278 | 2284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments