Commit 0eed48c
Fix create_table kwargs for Ruby 3 / Rails 7 compatibility
`create_table(force: :cascade)` was passing the options hash as a
positional argument via *args, which Ruby 3 no longer allows.
Switch to **kwargs so the hash is forwarded as keyword arguments.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent cfff539 commit 0eed48c
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- ruby/hyper-operation/lib/hyper-operation/transport/connection_adapter/active_record
ruby/hyper-operation/lib/hyper-operation/transport/connection_adapter/active_record/auto_create.rb
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments