Update to latest Rails. A little bit of jiggery-pokery is involved, since they neglected to re-include vendored Rack in this release.
8 lines
138 B
Ruby
8 lines
138 B
Ruby
class TrueClass
|
|
AS_JSON = ActiveSupport::JSON::Variable.new('true').freeze
|
|
|
|
def as_json(options = nil) #:nodoc:
|
|
AS_JSON
|
|
end
|
|
end
|