add note for commands. (#407)

* add note for commands.

The all listed commands is seemingly bash commands, but the 2nd and latter is command for rails command prompt.

* fix from null to nil
This commit is contained in:
Akira 2017-10-13 15:30:32 +09:00 committed by wxcafé
parent afa7c148f0
commit 23985a9fb8
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +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
# in rails console.
account = Account.find_by(username: 'username', domain: nil)
account.suspended = false
user = User.create!(email: 'email', password: 'password', account: account)