05 Aug '12, 6pm

MongoMapper, The Rad Mongo Wrapper // RailsTips by John Nunemaker:

@Luigi – I always took relational to mean ‘mapping relationships between incompatible type systems’ not a literal reference to the most common underlying storage type. Then again I’m self taught so what do I know :P Ignoring the abbreviation aren’t common problems are being repeatedly solved here though? Database to Ruby object mapping. Call them keys, properties, attributes or whatever you like but the mongo driver returns a collection of hashes which must all be mapped into an instance of your higher level document class with possibly different named attribute accessors/mutators. Validations, type checking and serialization. Sooner or later you’ll want to store and validate a URI object or some other non primitive. You’ll have to create types for your keys that (de-)serialize into one of the known primitives (String). Modeled relationships. Mongo sub-objects can be thoug...

Full article: http://railstips.org/blog/archives/2009/06/27/mongomapper...

Tweets

Or this? Tweet girls, help me to decide! need opinions :)) Rad Bloc Dress (2215890F)

Or this? Tweet girls, help me to decide! need o...

mdscollections.com 04 Aug '12, 5am

Look rad this new year with this dress that has such delicate knife pleats! We love how the pleats make the dress look dif...

cep_facil (1.0.1): Wrapper Ruby para o serviço

rubygems.org 05 Aug '12, 12pm

cep_facil 1.0.0 Wrapper Ruby para o serviço cepfacil.com.br install gem install cep_facil Download Documentation Subscribe...