I found myself confronted with a MongoDb data modeling problem. I have your vanilla User model which has many Items. The exact nature of an Item is irrelevant, but let us say a User can have lots of Items. I struggled with trying to figure out how to model this data in a flexible way while still leveraging the documented-orientated nature of MongoDb. The answer may seem obvious to some but it is interesting to weigh the options available.
Data Modeling at Scale: MongoDb + Mongoid, Callbacks, and Denormalizing Data for Efficiency
August 11th, 2011 § 2 comments § permalink
Getting Ruby 1.9, Readline, Rails, and Mysql all running on Snow Leopard
December 27th, 2009 § 10 comments § permalink
In my never ending love/hate relationship with Ruby, Rails and my Mac I’ve finally gotten Ruby 1.9 up and running with Rails 2.3 and MySql 64 bit. All on Snow Leopard. There was an even a little detour with Readline. If you’ve scoured other posts about Snow Leopard, Ruby, Rails and Mysql and ended up here I feel your pain. I hope this helps you on your way. Most of this info is from other places which I’ve explained in a little (just a little) but more depth. Read More
