This project is archived and is in readonly mode.

#2216 ✓invalid

Base64 does not get cast for ActiveRecord objects when using XMLRPC AWS.

Reported by Steve | March 11th, 2009 @ 06:34 PM | in 2.x

This is similar to the (old) ticket:

SO I realize that this may not be the "appropriate" place to put this, as AWS is no longer packaged with rails. But on the offchance someone here would like to track this, here is the issue:

Using XMLRPC, I'm returning a Track object, defined by this schema:

create_table "tracks", :force => true do |t|

t.string   "name"
t.integer  "user_id",       :limit => 11
t.binary   "track_data"
t.binary   "warn_data"
t.boolean  "published"
t.datetime "created_at"
t.datetime "updated_at"
t.integer  "background_id", :limit => 11


It works great... except that AWS 2.1.0 (from datanoise - is returning my binary data in the structured object (ActiveRecord::Base object) as a String instead of Base64. It is being returned as datadatadata.

I realize that XMLRPC and SOAP are kind of like Rails' red-headed step children, but some of us are stuck with them for reasons outside our control... :(

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket