Use proper output format [ci skip] (#27498)

This commit is contained in:
प्रथमेश Sonpatki 2016-12-29 18:27:48 +05:30 committed by GitHub
parent af885f1082
commit 415e17d0b5
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ module ActionDispatch
# Returns true if the request has a header matching the given key parameter.
#
# request.key? :ip_spoofing_check #=> true
# request.key? :ip_spoofing_check # => true
def key?(key)
has_header? key
end

View File

@ -111,7 +111,7 @@ profile.settings = {"color" => "yellow", "resolution" => "1280x1024"}
profile.save!
Profile.where("settings->'color' = ?", "yellow")
#=> #<ActiveRecord::Relation [#<Profile id: 1, settings: {"color"=>"yellow", "resolution"=>"1280x1024"}>]>
# => #<ActiveRecord::Relation [#<Profile id: 1, settings: {"color"=>"yellow", "resolution"=>"1280x1024"}>]>
```
### JSON