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:
parent
329fafafce
commit
664552ac02
257 changed files with 4346 additions and 1682 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue