1
0
Fork 0
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:
Yves Senn 2015-08-25 13:32:59 +02:00
commit 211c31d271

View file

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