Thanks again Mladen Ilic for your help.

For anyone that finds this, in order to build the multipart form-data, I 
needed to use the following to get the Octet-stream.

post_body << self.attachment_changes['pv_file']

Hopefully we will eventually get a permanent/documented way to access the 
data pre-save.

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit

Reply via email to