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
MongoDB on Rails
parasquid
January 24, 2013
Other Decks in Programming
See All in Programming
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
220
Feature Toggle は捨てやすく使おう
gennei
0
400
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
910
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
140
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
110
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
270
飯MCP
yusukebe
0
460
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
140
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
430
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
170
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
150
Color Theory Basics | Prateek | Gurzu
gurzu
0
270
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
340
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
320
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
Producing Creativity
orderedlist
PRO
348
40k
The Invisible Side of Design
smashingmag
302
51k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
KATA
mclloyd
PRO
35
15k
My Coaching Mixtape
mlcsv
0
92
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
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