Your SlideShare is downloading. ×
0
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Ruby on Rails + MongoDB - FATEC Sorocaba
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ruby on Rails + MongoDB - FATEC Sorocaba

383

Published on

Ruby on Rails + MongoDB - FATEC Sorocaba - 10/10/2012

Ruby on Rails + MongoDB - FATEC Sorocaba - 10/10/2012

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
383
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ruby on railsmongodb
  • 2. @lucasrenan
  • 3. http://nudesign.com.br
  • 4. traidor do movimento
  • 5. matz
  • 6. instalação
  • 7. dhh
  • 8. ModelViewController
  • 9. $ gem installrails
  • 10. ~ 45 milbibliotecas
  • 11. frameworkmodular
  • 12. # 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"
  • 13. persistênciapoliglota
  • 14. estruturaflexível
  • 15. class Artist include Mongoid::Document field :name, type: String embeds_many :instrumentsendclass Instrument include Mongoid::Document field :name, type: String embedded_in :artistend
  • 16. toby = Artist.new(name: "Toby Morse")toby.save!
  • 17. marky = Artist.where(name: "MarkyRamone").firstmarky.instruments.create(name: "Drums")
  • 18. livecoding
  • 19. obrigado:)

×