You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ruby version 2.7 deprecates automatic conversion from a hash to keyword arguments.
add_column method only accepts 3 arguments and extra options, when we call add_uiid_column we are sending 4 obtaining this error wrong number of arguments (given 4, expected 3)
Reviewing this code, we are sending the extra options as a {} which is treated as an argument:
Ruby version 2.7 deprecates automatic conversion from a hash to keyword arguments.
add_column
method only accepts 3 arguments and extra options, when we calladd_uiid_column
we are sending 4 obtaining this errorwrong number of arguments (given 4, expected 3)
Reviewing this code, we are sending the extra options as a
{}
which is treated as an argument:uuidable/lib/uuidable/migration.rb
Line 28 in e6d89ea
In my code to solve the issue I need to use manually the default
add_column
method:Code to solve it
**
:I cant create a PR fixing this issue.
The text was updated successfully, but these errors were encountered: