Rails 2.3.3.1

Update to latest Rails.
A little bit of jiggery-pokery is involved, since they
neglected to re-include vendored Rack in this release.
This commit is contained in:
Jacques Distler 2009-08-04 10:16:03 -05:00
parent 329fafafce
commit 664552ac02
257 changed files with 4346 additions and 1682 deletions

View file

@ -11,8 +11,8 @@ module ActiveResource
"application/json"
end
def encode(hash, options={})
hash.to_json(options)
def encode(hash, options = nil)
ActiveSupport::JSON.encode(hash, options)
end
def decode(json)