parent
319e54e08a
commit
572e842f8c
1 changed files with 1 additions and 3 deletions
|
@ -30,9 +30,7 @@ If you create a user by signing up to your local website, you need to confirm th
|
||||||
$ bundle exec rails console
|
$ bundle exec rails console
|
||||||
>> user = User.find_by(:display_name => "My New User Name")
|
>> user = User.find_by(:display_name => "My New User Name")
|
||||||
=> #[ ... ]
|
=> #[ ... ]
|
||||||
>> user.status = "active"
|
>> user.activate!
|
||||||
=> "active"
|
|
||||||
>> user.save!
|
|
||||||
=> true
|
=> true
|
||||||
>> quit
|
>> quit
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue