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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
120
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
250
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
500
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
220
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
270
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
280
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
540
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
710
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
2
230
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
170
AI Readyの正体はデータマネジメントだ メダリオン2.0の最前線
freee
PRO
0
410
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
260
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
480
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Making Projects Easy
brettharned
120
6.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
880
How STYLIGHT went responsive
nonsquared
100
6.2k
Practical Orchestrator
shlominoach
191
12k
Everyday Curiosity
cassininazir
0
290
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
710
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
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