Any suggestions on what gem to install for Cassandra and MongoDB ?
I will be using Jruby on Rails
Any suggestions on what gem to install for Cassandra and MongoDB ?
I will be using Jruby on Rails
I don’t know about Cassandra, but I have been using mongodb with jruby
recently. The options for jruby are basically the same as for mri.
Low-level access to the database is provided by the mongo gem which is
pure ruby and works fine in jruby. The main difference is the
bson-ext gem, which the mongo gem recommends for increased
performance, uses native code and is not available.
As for the orm layer, there are 2 main options: mongomapper, which is
more established, and mongoid, which is newer but has more
documentation and is more up-to-date in terms of rails 3 support. I
tried both and ended up using mongomapper since I ran into a mongoid
bug that I couldn’t find a quick fix for. Mongoid has had a major
update released recently, and has probably improved since I first
tried it.
Hope this helps,
Jesse
On Sat, May 22, 2010 at 12:27 PM, Rajiv N. [email protected]
wrote:
Any suggestions on what gem to install for Cassandra and MongoDB ?
I will be using Jruby on Rails–
-Rajiv
www.rajivnarula.com
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
This helps. Thanks !
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs