Correct 'null' to 'nil' in reactivation section (#422)

Replaced this 'null' with a 'nil' so Ruby won't throw a NameError.
This commit is contained in:
Daggertooth 2017-10-13 01:23:54 -05:00 committed by wxcafé
parent b94b4970ff
commit afa7c148f0
1 changed files with 1 additions and 1 deletions

View File

@ -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