Hi Pablo, welcome!

In answer to question 1: I put together an introduction to Riak a while
back, you can find it on github: https://github.com/peschkaj/riak_intro/

Specifically,
https://github.com/peschkaj/riak_intro/blob/master/src/mr_filter.rb has an
example of how to configure get Riak up and running outside of the Rails
framework. Using Ripple is just as simple, you can find some samples in that
repo as well: https://github.com/peschkaj/riak_intro/tree/master/src/ripple

As far as 2 goes, I think that's handled in Ripple when you save. I could be
wrong, though.

3: I have no idea. Hopefully someone else who knows will chime in. I could
always make something up so that they'll correct me, though. ;)

Jeremiah Peschka
Founder, Brent Ozar PLF, LLC


On Tue, Jun 21, 2011 at 8:28 AM, Pablo Chacin <[email protected]> wrote:

> Hello
>
> I'm new to reply and Ruby in general, so probably my questions have evident
> answers.
> I'm trying to use the Document Model, but there are a few things that are
> not clear from
> the documentation:
> 1. How to configure ripple when used in a ruby (not rails) application.
> 2. I want to do something similar to the get_or_new method provided by the
> Bucket (get an existing document or create a new one, it it doesn't exists)
> 3. control the bucket on which the document is stored/retrieve (using an
> attribute). From what I've seen, riak uses the class name as bucket.
>
> Thanks in advance
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to