introduction to rails 3 - anup nivargi
DESCRIPTION
TRANSCRIPT
![Page 1: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/1.jpg)
Introduction to RAILS 3
![Page 3: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/3.jpg)
3
Rails 3
• Decoupling Components
• Improve Performance
• Allow Integration of Wider Ecosystem
![Page 4: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/4.jpg)
4
Core
ActiveSupport
ActionPack
ActiveResource ActiveModel
ActiveRecord DataMapper Sequel
Test::Unit Rspec Others
![Page 5: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/5.jpg)
5
ActionDispatch
ActionController
ActionView
Request
Action
Filters
Match Route
Render Template
Response
![Page 6: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/6.jpg)
6
Controller
AbstractController::Base
ActionController::Metal
ApplicationController
ActionController::Base
UsersController
![Page 7: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/7.jpg)
7
AttributeMethods, Callbacks, Conversion, Naming, Serialization, Translation, Validations etc..
ActiveModel <http://github.com/rails/rails/blob/master/activemodel/README>
![Page 8: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/8.jpg)
8
Install Rails 3 beta 2• Prerequisites • Ruby version >= 1.8.7• RubyGems version >= 1.3.6
![Page 9: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/9.jpg)
9
Rails 3:Generator
![Page 10: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/10.jpg)
10
Rails 3:Getting Started
![Page 11: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/11.jpg)
11
Rails 3:Gemfile & Scaffold
![Page 12: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/12.jpg)
12
Rails 3:Router API
![Page 13: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/13.jpg)
13
Rails 3:ActiveRelationQuery Generation Based on Relational Algebra
![Page 14: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/14.jpg)
14
Rails 3:ActiveRelation
![Page 15: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/15.jpg)
15
Rails 3:XSS
![Page 16: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/16.jpg)
16
Rails 3:Erb Blocks
![Page 17: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/17.jpg)
17
Rails 3:UJSCustom data attributes
<http://github.com/rails/jquery-ujs>
• data-method
• data-remote
• data-confirm
• data-disable-with
![Page 18: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/18.jpg)
18
Rails 3:UJS
![Page 19: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/19.jpg)
19
Rails 3:ActionMailer
![Page 20: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/20.jpg)
20
Rails 3:ResourcesThanks to all of them
• http://www.railscasts.com
• Check Plugin compatibility with Rails 3
• http://www.railsplugins.org/
• Sinatra App with Rails
• http://www.lindsaar.net/2010/2/7/rails_3_routing_with_rack
• http://omgbloglol.com/post/344792822/the-path-to-rails-3-introduction
• http://blog.davidchelimsky.net/2010/01/12/rspec-2-and-rails-3/
• Getting Up-to-date with Rails 3 by Yehuda Katz
• http://www.youtube.com/watch?v=uq1sPDHcQY0
• Rack in Rails 3
• http://www.youtube.com/watch?v=EGGjQrgdg1s
• Rails 2 to 3 abridged
• http://www.youtube.com/watch?v=W7uJfVUYx7I
• http://m.onkey.org/2010/1/22/active-record-query-interface
![Page 21: Introduction to Rails 3 - Anup Nivargi](https://reader036.vdocuments.site/reader036/viewer/2022081412/540591478d7f729e768b4d27/html5/thumbnails/21.jpg)
21
ThankYou!