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