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
Ruby on Rails + MongoDB - FATEC Sorocaba
Search
lucas renan
October 10, 2012
Technology
0
140
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
lucas renan
October 10, 2012
Tweet
Share
More Decks by lucas renan
See All by lucas renan
building an international career
lucasrenan
2
110
Real Time with Rails 5
lucasrenan
0
140
A Modern Approach of Software Development - RubyConfBR 2015
lucasrenan
2
210
Be Happy With Ruby on Rails - Ecosystem
lucasrenan
1
130
Be happy with Ruby on Rails - CEUNSP Itu
lucasrenan
1
56
Seja Feliz com Ruby!
lucasrenan
0
120
hey agilista, esqueceu das pessoas?
lucasrenan
0
82
Open Source e Ruby on Rails - FLISOL 2013
lucasrenan
0
73
Ruby on Rails - CEUNSP
lucasrenan
1
61
Other Decks in Technology
See All in Technology
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
Azure AI ことはじめ
tsubakimoto_s
0
130
開発と事業を繋ぐ!SREのオブザーバビリティ戦略 ~ Developers Summit 2024 Summer ~
leveragestech
0
630
DDDにおける認可の扱いとKotlinにおける実装パターン / authorization-for-ddd-and-kotlin-implement-pattern
urmot
4
390
What is DRE? - Road to SRE NEXT@広島
chanyou0311
3
630
コンテナ・K8s研修 - 後半 Kubernetes 基礎&ハンズオン【MIXI 24新卒技術研修】
mixi_engineers
PRO
1
120
推薦システムを本番導入する上で一番優先すべきだったこと~NewsPicks記事推薦機能の改善事例を元に~
morinota
0
130
地理情報とAPIのトレンド
nagix
0
160
技術負債による事業の失敗はなぜ起こるのか / Why do business failures due to technical debt occur?
i35_267
0
190
スタートアップにおける組織設計とスクラムの長期戦略 / Scrum Fest Kanazawa 2024
yoshikiiida
13
3.6k
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
累計ダウンロード数1億8000万を超えるアプリケーションプラットフォームのレガシーシステム脱却とモダン化への道
kmitsuhashi
0
120
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
Making Projects Easy
brettharned
111
5.7k
Optimising Largest Contentful Paint
csswizardry
18
2.6k
BBQ
matthewcrist
82
9k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Faster Mobile Websites
deanohume
303
30k
Writing Fast Ruby
sferik
623
60k
Fantastic passwords and where to find them - at NoRuKo
philnash
42
2.7k
How to Think Like a Performance Engineer
csswizardry
4
590
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
KATA
mclloyd
20
13k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
23
1.9k
Transcript
ruby on rails mongodb
@lucasrenan
http://nudesign.com.br
traidor do movimento
None
matz
instalação
None
None
dhh
Model View Controller
$ gem install rails
None
~ 45 mil bibliotecas
None
None
framework modular
# application.rb # Pick the frameworks you want: # require
"active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" require "sprockets/railtie" # require "rails/test_unit/railtie"
persistência poliglota
None
None
estrutura flexível
None
class Artist include Mongoid::Document field :name, type: String embeds_many :instruments
end class Instrument include Mongoid::Document field :name, type: String embedded_in :artist end
toby = Artist.new(name: "Toby Morse") toby.save!
marky = Artist.where(name: "Marky Ramone").first marky.instruments.create(name: "Drums")
live coding
None
None
None
None
None
obrigado :)