Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo [ci skip]

  • Loading branch information...
commit da0ef60d3b9dd226d24465741eca47bde97745e5 1 parent ec74763
Erich Menge authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/json/encoding.rb
2  activesupport/lib/active_support/json/encoding.rb
@@ -192,7 +192,7 @@ def encode_json(encoder) to_s end #:nodoc:
class Float
# Encoding Infinity or NaN to JSON should return "null". The default returns
- # "Infinity" or "NaN" breaks parsing the JSON. E.g. JSON.parse('[NaN]').
+ # "Infinity" or "NaN" which breaks parsing the JSON. E.g. JSON.parse('[NaN]').
def as_json(options = nil) finite? ? self : nil end #:nodoc:
Please sign in to comment.
Something went wrong with that request. Please try again.