mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #21369 from agrimm/documentation_fix_21364
[ci skip] Fix #21364 error in documentation about ActiveRecord::Enum
This commit is contained in:
commit
211c31d271
1 changed files with 1 additions and 2 deletions
|
@ -18,10 +18,9 @@ module ActiveRecord
|
|||
# conversation.archived? # => true
|
||||
# conversation.status # => "archived"
|
||||
#
|
||||
# # conversation.update! status: 1
|
||||
# # conversation.status = 1
|
||||
# conversation.status = "archived"
|
||||
#
|
||||
# # conversation.update! status: nil
|
||||
# conversation.status = nil
|
||||
# conversation.status.nil? # => true
|
||||
# conversation.status # => nil
|
||||
|
|
Loading…
Reference in a new issue