aboutsummaryrefslogtreecommitdiffstats
path: root/version.rb
diff options
context:
space:
mode:
authorJacques Crocker <railsjedi@gmail.com>2010-09-18 03:09:37 -0700
committerJosé Valim <jose.valim@gmail.com>2010-09-25 13:54:09 +0200
commit51f1f550dab47c6ec3dcdba7b153258e2a0feb69 (patch)
tree8502e35b46ddff65795db6c20edcf0768b56dc7f /version.rb
parentee5ef67c443407f616feef3a8cade8ba3a9d6ef0 (diff)
downloadrails-51f1f550dab47c6ec3dcdba7b153258e2a0feb69.tar.gz
rails-51f1f550dab47c6ec3dcdba7b153258e2a0feb69.tar.bz2
rails-51f1f550dab47c6ec3dcdba7b153258e2a0feb69.zip
Allow per Resource format settings
Previously, ActiveResource was using the connection level formatter for get requests. This made it impossible to use custom formatters per resource. Additionally this commit makes the Connection request methods more consistent. It always returns a Response. The base will then decode it each the response using its format setting. Merging this commit will allow users to add custom formatters on a per Resource basis. This enables handling pagination responses from the server side, a very common use case that was previously impossible without monkeypatching XmlFormat. Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions