]> git.openstreetmap.org Git - rails.git/commitdiff
Remove save user step when configuring permissions
authorAnton Khorev <tony29@yandex.ru>
Thu, 16 Nov 2023 09:08:18 +0000 (12:08 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 16 Nov 2023 09:08:18 +0000 (12:08 +0300)
CONFIGURE.md

index 3bf0724fc3f95b4b3831c0c50592c6226b67883e..21695397acf85ddd4a5acf8eca95b87122630306 100644 (file)
@@ -47,8 +47,6 @@ $ bundle exec rails console
 => #[ ... ]
 >> user.roles.create(:role => "moderator", :granter_id => user.id)
 => #[ ... ]
->> user.save!
-=> true
 >> quit
 ```