From afa7c148f00eb6078e2c6e488097602f45a16858 Mon Sep 17 00:00:00 2001 From: Daggertooth Date: Fri, 13 Oct 2017 01:23:54 -0500 Subject: [PATCH] Correct 'null' to 'nil' in reactivation section (#422) Replaced this 'null' with a 'nil' so Ruby won't throw a NameError. --- Running-Mastodon/Administration-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running-Mastodon/Administration-guide.md b/Running-Mastodon/Administration-guide.md index 358715a9..e0257997 100644 --- a/Running-Mastodon/Administration-guide.md +++ b/Running-Mastodon/Administration-guide.md @@ -70,7 +70,7 @@ Additionally you can toggle the "reject media" option. When enabled, media files ## Reactivating a previously deleted user RAILS_ENV=production bundle exec rails c - account = Account.find_by(username: 'username', domain: null) + account = Account.find_by(username: 'username', domain: nil) account.suspended = false user = User.create!(email: 'email', password: 'password', account: account) user.confirm