664552ac02
Update to latest Rails. A little bit of jiggery-pokery is involved, since they neglected to re-include vendored Rack in this release.
22 lines
267 B
Ruby
22 lines
267 B
Ruby
class Numeric
|
|
def to_json(options = nil) #:nodoc:
|
|
to_s
|
|
end
|
|
|
|
def as_json(options = nil) #:nodoc:
|
|
self
|
|
end
|
|
end
|
|
|
|
class Float
|
|
def to_json(options = nil) #:nodoc:
|
|
to_s
|
|
end
|
|
end
|
|
|
|
class Integer
|
|
def to_json(options = nil) #:nodoc:
|
|
to_s
|
|
end
|
|
end
|