Ripple file attachments

Mark Phillips mark at basho.com
Mon Jan 7 22:04:23 EST 2013


Hi Ariel,

On Tue, Dec 18, 2012 at 7:23 PM, Ariel Valentin <ariel at arielvalentin.com> wrote:
> Does Ripple provide file attachement functionality similar to paperclip or
> attachement_fu?
>
> I'd like to be able to attach binary data to a Ripple Document object that
> is being stored in a different bucket.
>

It looks like you can add any property to Ripple::Document [0]. Though
it doesn't seem to be documented (as far as I can tell), this could
certainly be a binary blob. (Just make sure said blob isn't much
bigger than 4MB or so.)

Also, since you mentioned it, someone released a Paperclip module for
Riak [1] about a month back.

Hope that helps.

Mark
twitter.com/pharkmillups

[0] http://basho.github.com/ripple/#Document_Model_Examples
[1] https://github.com/xinuc/paperclip-riak

> Ariel Valentin
> e-mail: ariel at arielvalentin.com
> website: http://blog.arielvalentin.com
> skype: ariel.s.valentin
> twitter: arielvalentin
> linkedin: http://www.linkedin.com/profile/view?id=8996534
> ---------------------------------------
> *simplicity *communication
> *feedback *courage *respect
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list