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
140 B
Ruby
8 lines
140 B
Ruby
class FalseClass
|
|
AS_JSON = ActiveSupport::JSON::Variable.new('false').freeze
|
|
|
|
def as_json(options = nil) #:nodoc:
|
|
AS_JSON
|
|
end
|
|
end
|