21. SCARY DBS
• ORMs hide the database
• Ruby’s automatic inclusion of
ActiveRecord encourages little DB
thought
• Developers automatically build
relational schemas
• Black Mage has a cool hat
22. OUR DATA
• Data frequently comes in isolated
silos
• Little of our data was traditionally
“relational”
• We could rebuild data sets later for
reporting if we needed to
• Scalability and ease of maintenance
mattered heavily. We aren’t Ops folks
23. MONGO DB
• Document store (NoSQL)
• JavaScript based
• Easy clustering
• Run local and on servers
MongoDB
25. MONGOID
• ODM – Object Document Mapper
• Maps Active Record interactions to
MongoDB
• Quit thinking about persistence and
just think about objects
Mongoid