Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MongoDB on Rails
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
parasquid
January 24, 2013
Programming
190
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MongoDB on Rails
parasquid
January 24, 2013
Other Decks in Programming
See All in Programming
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
610
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
Agentic UI
manfredsteyer
PRO
0
190
dRuby over BLE
makicamel
2
390
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
740
OSもどきOS
arkw
0
590
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
570
AIで効率化できた業務・日常
ochtum
0
140
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
560
A2UI という光を覗いてみる
satohjohn
1
150
RTSPクライアントを自作してみた話
simotin13
0
630
Claspは野良GASの夢をみるか
takter00
0
210
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
270
A Modern Web Designer's Workflow
chriscoyier
698
190k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
400
The SEO identity crisis: Don't let AI make you average
varn
0
500
We Have a Design System, Now What?
morganepeng
55
8.2k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Marketing to machines
jonoalderson
1
5.5k
Transcript
MongoDB on Rails T i p s a n d
T r i c k s f o r F u n a n d P r o f i t 1 Friday, January 25, 13
WHOAMI 2 Friday, January 25, 13
Tristan Gomez (parasquid) I co-founded UXMalaysia, help organize KLMUG with
Mark Smalley, pioneered WebCampKL I’m helping Gem start the local MongoDB user group (ManilaMUG) 3 Friday, January 25, 13
What Do I Do 4 Friday, January 25, 13
Works at Mindvalley (www.mindvalley.com) System Administrator, Web Designer, Back- end
Developer, Front-end Developer Primarily Ruby and Rails Some gems: embedify, namecheap 5 Friday, January 25, 13
NoSQL in General 6 Friday, January 25, 13
Different way of thinking about a database Relational: predictable, structured
data Non-relational: key-value, document, BigTable, graph Foregoes some ACID compliance 7 Friday, January 25, 13
Why NoSQL 8 Friday, January 25, 13
Use the best tool for the job Reputation of “fast”
-- it depends Buffet vs Menu analogy 9 Friday, January 25, 13
What is MongoDb 10 Friday, January 25, 13
Document store (store anything related to a document) Uses BSON
(binary JSON) JSON-like MongoDB Interface (http:// docs.mongodb.org/manual/reference/ #mongodb-interface) 11 Friday, January 25, 13
Why MongoDB 12 Friday, January 25, 13
Operational Intelligence (log data, pre- aggregated reports) Product Data Management
(catalogs, inventory) Content Management Systems (http:// docs.mongodb.org/manual/tutorial/write-a- tumblelog-application-with-django-mongodb- engine/) 13 Friday, January 25, 13
Introduction to Mongoid 14 Friday, January 25, 13
gem install mongoid Has an ActiveRecord-compatible interface, so it behaves
just like a normal ActiveRecord model 15 Friday, January 25, 13
Using Mongoid 16 Friday, January 25, 13
Caveats 17 Friday, January 25, 13
parasquid StackOverflow facebook twitter GitHub irc 18 Friday, January 25,
13