Commit d8f8978
committed
Refactor / use ActiveRecord association operator
Using << here replaces manual foreign key assignment as well as the explicit save call.1 parent 4b25e4a commit d8f8978
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
| 262 | + | |
264 | 263 | | |
265 | 264 | | |
266 | 265 | | |
| |||
0 commit comments