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
2
180
MongoDB on Rails
parasquid
January 24, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
240
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
ぼくの開発環境2026
yuzneri
0
230
Fluid Templating in TYPO3 14
s2b
0
130
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
100
CSC307 Lecture 05
javiergs
PRO
0
500
Data-Centric Kaggle
isax1015
2
780
2026年 エンジニアリング自己学習法
yumechi
0
140
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Mind Mapping
helmedeiros
PRO
0
87
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
Code Review Best Practice
trishagee
74
20k
Statistics for Hackers
jakevdp
799
230k
Tell your own story through comics
letsgokoyo
1
810
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
A designer walks into a library…
pauljervisheath
210
24k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
100
A better future with KSS
kneath
240
18k
Scaling GitHub
holman
464
140k
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