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
parasquid
January 24, 2013
Programming
2
180
MongoDB on Rails
parasquid
January 24, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
2025年版 サーバーレス Web アプリケーションの作り方
hayatow
18
22k
Deep Dive into Kotlin Flow
jmatsu
1
400
Compose Multiplatform × AI で作る、次世代アプリ開発支援ツールの設計と実装
thagikura
0
190
Server Less Code More - コードを書かない時代に生きるサーバーレスデザイン / server-less-code-more
gawa
4
1.2k
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
6.5k
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
640
iOSからFlutterへ20代エンジニアの転身とWidget Preview実践
nappannda
0
110
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
7
2.7k
プロダクト開発をAI 1stに変革する〜SaaS is dead時代で生き残るために〜 / AI 1st Product Development
kobakei
0
140
猫と暮らすネットワークカメラ生活🐈 ~Vision frameworkでペットを愛でよう~ / iOSDC Japan 2025
yutailang0119
0
150
Swiftビルド弾丸ツアー - Swift Buildが作る新しいエコシステム
giginet
PRO
0
280
プログラマのための作曲入門
cheebow
0
100
Featured
See All Featured
Balancing Empowerment & Direction
lara
4
640
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Into the Great Unknown - MozCon
thekraken
40
2k
How GitHub (no longer) Works
holman
315
140k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Six Lessons from altMBA
skipperchong
28
4k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Thoughts on Productivity
jonyablonski
70
4.8k
A better future with KSS
kneath
239
17k
Scaling GitHub
holman
463
140k
Music & Morning Musume
bryan
46
6.8k
GitHub's CSS Performance
jonrohan
1032
460k
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