From 415e17d0b54681545d36a0f43d4cd8761de77bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=AA=E0=A5=8D=E0=A4=B0=E0=A4=A5=E0=A4=AE=E0=A5=87?= =?UTF-8?q?=E0=A4=B6=20Sonpatki?= Date: Thu, 29 Dec 2016 18:27:48 +0530 Subject: [PATCH] Use proper output format [ci skip] (#27498) --- actionpack/lib/action_dispatch/http/request.rb | 2 +- guides/source/active_record_postgresql.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb index 943adc1d05..19fa42ce12 100644 --- a/actionpack/lib/action_dispatch/http/request.rb +++ b/actionpack/lib/action_dispatch/http/request.rb @@ -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 diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md index 58af2f82b3..6d07291b07 100644 --- a/guides/source/active_record_postgresql.md +++ b/guides/source/active_record_postgresql.md @@ -111,7 +111,7 @@ profile.settings = {"color" => "yellow", "resolution" => "1280x1024"} profile.save! Profile.where("settings->'color' = ?", "yellow") -#=> #"yellow", "resolution"=>"1280x1024"}>]> +# => #"yellow", "resolution"=>"1280x1024"}>]> ``` ### JSON