Nah, that's what I imagined. CouchDB indeed seems a lot like Riak but I think
I'm gonna stick to Riak as it is attractive somehow!
There seems to be some rubygems one that is only 0.0.1 :/ which is an adapter. And another one called "riak-client" which seems to be the most relevant one.
Looking in the documentation sure makes it look right.

It gave me the impression first that it was some ruby reimplementation of
Riak first (which would be kind of dumb) but it's a toolkit.

It uses something called "Ripple" which has an "ActiveModel compatible modeling layer inspired by ActiveRecord, DataMapper and MongoMapper". Now I don't know if that means it's possible to go has_many etc.
I guess we'll see when I start using it!

Thanks for your help!

Also (not relevant) I fixed the CSS for whywentcamping.com (at least it should be fixed) to be compatible with Opera browser. It is pushed to the Github repo, all we really need to do is to update the code for the actual site. I have no idea on how to do that, someone who knows should probably look in to that.
Then I can finally go to the site without having to switch browser ;)

Cheers!

Isak



Den 2011-12-06 23:23:47 skrev Jenna Fox <[email protected]>:

You can't use ActiveRecord with map-reduce databases anyhow, without loosing a bunch of performance and features. It's best to use a specialised adaptor just for Riak. It looks a bit similar to CouchDB, so you might also like to have a look at that if you can't find any good rubygems for riak.

CouchDB supports all that delicious p2p replication stuff too, sans the weird 'enterprise' version with extra withheld features.

—
Jenna

On 07/12/2011, at 7:26 AM, Isak Andersson wrote:

Good day, does anyone here have a clue on how to make use of the NoSQL database "Riak" with Camping?

I am building my website and Riak seems like pretty much the ultimate database! This would probably ruin every little feature in ActiveRecord, I don't think I'd be able to do any has_many's or belongs_to but I'd LOVE to be proven wrong. As far as I know (but maybe I should do some research before saying it) there isn't any
adapter for Riak yet.

I want to use it anyways though, connecting nodes around the globe! |m|

-Isak Andersson

TLB

--
Using the Opera email client: http://www.opera.com/mail/

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list



____________________________________________________________________________________
We compare the best offers just for U. Our top 5 selection. Take the chance to
make a good deal!
http://click.lavabit.com/nu7xj7eg4a6p6obzf97i5765y7qxrprs8m4xuj7zwdcn96x9uu5b/
____________________________________________________________________________________


--
Sent from Opera web browser. http://www.opera.com/mail/

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to