-
-
Save edwardloveall/72ed2eaaa02999fa68ea3a1feedfb1f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in db/migrations/20190120141952_generate_usernames_for_users.cr:11: no overload matches 'GenerateUsernamesForUsers::V20190120141952::User::BaseForm.update!' with types User, username: String | |
Overloads are: | |
- GenerateUsernamesForUsers::V20190120141952::User::BaseForm.update!(record : T, with params, id : Int32 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, username : String | Nothing | Nil = Nothing.new) | |
- GenerateUsernamesForUsers::V20190120141952::User::BaseForm.update!(record : T, id : Int32 | Nothing = Nothing.new, created_at : Time | Nothing = Nothing.new, updated_at : Time | Nothing = Nothing.new, username : String | Nothing | Nil = Nothing.new) | |
User::BaseForm.update!(user, username: new_username) | |
^~~~~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment