Submit Search
Upload
ActiveRecord
•
Download as KEY, PDF
•
0 likes
•
311 views
R
RobotDeathSquad
Follow
Introduction to ActiveRecord
Read less
Read more
Technology
Report
Share
Report
Share
1 of 10
Download now
Recommended
Dr. Strangelove or: How I learned to stop worrying and love HTML, CSS and Jav...
Dr. Strangelove or: How I learned to stop worrying and love HTML, CSS and Jav...
RobotDeathSquad
Felixlau
Felixlau
guestc352eb
Dr. Strangelove: or How I learned to love HTML, CSS, and Javascript
Dr. Strangelove: or How I learned to love HTML, CSS, and Javascript
RobotDeathSquad
Vocabulary and Cycles
Vocabulary and Cycles
Pinkham Elementary
OOP CSS Presenation
OOP CSS Presenation
RobotDeathSquad
2011 06 OMS Denver Gillian Muessig - Topic Modeling; Writing for Search Bots ...
2011 06 OMS Denver Gillian Muessig - Topic Modeling; Writing for Search Bots ...
Gillian Muessig
2012-03 Search Congress Community Management Workshop
2012-03 Search Congress Community Management Workshop
Gillian Muessig
td_mxc_rubyrails_shin
td_mxc_rubyrails_shin
tutorialsruby
Recommended
Dr. Strangelove or: How I learned to stop worrying and love HTML, CSS and Jav...
Dr. Strangelove or: How I learned to stop worrying and love HTML, CSS and Jav...
RobotDeathSquad
Felixlau
Felixlau
guestc352eb
Dr. Strangelove: or How I learned to love HTML, CSS, and Javascript
Dr. Strangelove: or How I learned to love HTML, CSS, and Javascript
RobotDeathSquad
Vocabulary and Cycles
Vocabulary and Cycles
Pinkham Elementary
OOP CSS Presenation
OOP CSS Presenation
RobotDeathSquad
2011 06 OMS Denver Gillian Muessig - Topic Modeling; Writing for Search Bots ...
2011 06 OMS Denver Gillian Muessig - Topic Modeling; Writing for Search Bots ...
Gillian Muessig
2012-03 Search Congress Community Management Workshop
2012-03 Search Congress Community Management Workshop
Gillian Muessig
td_mxc_rubyrails_shin
td_mxc_rubyrails_shin
tutorialsruby
td_mxc_rubyrails_shin
td_mxc_rubyrails_shin
tutorialsruby
Asp.Net MVC 5 in Arabic
Asp.Net MVC 5 in Arabic
Haitham Shaddad
Jasig rubyon rails
Jasig rubyon rails
_zaMmer_
Jasig rubyon rails
Jasig rubyon rails
_zaMmer_
12 Introduction to Rails
12 Introduction to Rails
Deepak Hagadur Bheemaraju
Ember - introduction
Ember - introduction
Harikrishnan C
Restructuring rails
Restructuring rails
Agile Commerce
What's new in Angular 2?
What's new in Angular 2?
Alfred Jett Grandeza
Intro to Rails 4
Intro to Rails 4
Kartik Sahoo
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
Nitin Sawant
Enterprise Node - Code Quality
Enterprise Node - Code Quality
Kurtis Kemple
Angularjs for kolkata drupal meetup
Angularjs for kolkata drupal meetup
Goutam Dey
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan Kušt
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan Kušt
Infinum
Angular js
Angular js
yogi_solanki
Asp 1-mvc introduction
Asp 1-mvc introduction
Fajar Baskoro
Feedback on building Production-Ready Microsoft Teams Apps
Feedback on building Production-Ready Microsoft Teams Apps
Guillaume Meyer
Power of Azure Devops
Power of Azure Devops
Azure Riyadh User Group
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Nilesh Panchal
A Beginner's Guide to Ember
A Beginner's Guide to Ember
Richard Martin
Ruby on rails RAD
Ruby on rails RAD
Alina Danila
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
More Related Content
Similar to ActiveRecord
td_mxc_rubyrails_shin
td_mxc_rubyrails_shin
tutorialsruby
Asp.Net MVC 5 in Arabic
Asp.Net MVC 5 in Arabic
Haitham Shaddad
Jasig rubyon rails
Jasig rubyon rails
_zaMmer_
Jasig rubyon rails
Jasig rubyon rails
_zaMmer_
12 Introduction to Rails
12 Introduction to Rails
Deepak Hagadur Bheemaraju
Ember - introduction
Ember - introduction
Harikrishnan C
Restructuring rails
Restructuring rails
Agile Commerce
What's new in Angular 2?
What's new in Angular 2?
Alfred Jett Grandeza
Intro to Rails 4
Intro to Rails 4
Kartik Sahoo
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
Nitin Sawant
Enterprise Node - Code Quality
Enterprise Node - Code Quality
Kurtis Kemple
Angularjs for kolkata drupal meetup
Angularjs for kolkata drupal meetup
Goutam Dey
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan Kušt
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan Kušt
Infinum
Angular js
Angular js
yogi_solanki
Asp 1-mvc introduction
Asp 1-mvc introduction
Fajar Baskoro
Feedback on building Production-Ready Microsoft Teams Apps
Feedback on building Production-Ready Microsoft Teams Apps
Guillaume Meyer
Power of Azure Devops
Power of Azure Devops
Azure Riyadh User Group
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Nilesh Panchal
A Beginner's Guide to Ember
A Beginner's Guide to Ember
Richard Martin
Ruby on rails RAD
Ruby on rails RAD
Alina Danila
Similar to ActiveRecord
(20)
td_mxc_rubyrails_shin
td_mxc_rubyrails_shin
Asp.Net MVC 5 in Arabic
Asp.Net MVC 5 in Arabic
Jasig rubyon rails
Jasig rubyon rails
Jasig rubyon rails
Jasig rubyon rails
12 Introduction to Rails
12 Introduction to Rails
Ember - introduction
Ember - introduction
Restructuring rails
Restructuring rails
What's new in Angular 2?
What's new in Angular 2?
Intro to Rails 4
Intro to Rails 4
Asp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
Enterprise Node - Code Quality
Enterprise Node - Code Quality
Angularjs for kolkata drupal meetup
Angularjs for kolkata drupal meetup
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan Kušt
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan Kušt
Angular js
Angular js
Asp 1-mvc introduction
Asp 1-mvc introduction
Feedback on building Production-Ready Microsoft Teams Apps
Feedback on building Production-Ready Microsoft Teams Apps
Power of Azure Devops
Power of Azure Devops
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
A Beginner's Guide to Ember
A Beginner's Guide to Ember
Ruby on rails RAD
Ruby on rails RAD
Recently uploaded
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
apidays
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Christopher Logan Kennedy
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Sandro Moreira
Recently uploaded
(20)
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
ActiveRecord
1.
ACTIVERECORD (AKA Why Rails
doesn’t scale.)
2.
CREATING NEW OBJECTS •
Model#new • Model#create • model.association.build • :touch => (rails 2.3) http://ryandaigle.com/articles/2009/4/20/what-s-new-in-edge-rails-touching
3.
CLASS METHODS • find •
find_by* • find :include => :other_model (n+1) • find :join => :other_model
4.
ASSOCIATIONS • has_one, has_many •
has_and_belongs_to_many • belongs_to • :through =>
5.
ASSOCIATION METHODS • scoping
methods on associations
6.
SCOPING • with_scope around_filter,
scopes all finds to parent model • named_scopes • dynamic_scope (2.3) http://ryandaigle.com/articles/2008/12/29/what-s-new-in-edge-rails-dynamic-scope-methods
7.
VALIDATIONS • built
in validations • validate :some_method
8.
CALLBACKS AND OBSERVERS •
Transactional Semantics for free
9.
LAW OF DEMETER •
Structure vs Ecapsulation
10.
PLUGINS • acts_as_list • acts_as_nested_set •
acts_as_tree
Download now