Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
rails group day 8
Search
mrkhutter
March 29, 2016
45
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
rails group day 8
associations and joins
mrkhutter
March 29, 2016
More Decks by mrkhutter
See All by mrkhutter
A Day in The Life
mrkhutter
0
110
rails group day 7
mrkhutter
0
36
rails study group day 6
mrkhutter
0
37
rails study group day 5
mrkhutter
0
32
shipt rails study group day 4
mrkhutter
0
30
shipt rails study group day 3
mrkhutter
0
36
Rails Study Group Day 1
mrkhutter
0
55
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
The agentic SEO stack - context over prompts
schlessera
0
970
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
Accessibility Awareness
sabderemane
1
250
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Transcript
Rails Study Group
Reference • http://guides.rubyonrails.org/ association_basics.html • http://guides.rubyonrails.org/ active_record_callbacks.html
Where we are now
Where we are now
Whats Left • 3.22: Associations • 3.24: Callbacks, Views &
Partials, Helpers • 3.29: CI & Deployment • 3.30: Hack Hour • 4.5(ish): Guest Speaker (tricks and tips)
MVC
MVC
MVC
Tests (green)
Tests (red)
Model Errors
Routes
config/routes.rb
CRUD, Verbs, & Actions
Route Restrictions
Joins
Inner Joins
Left (Outer) Join
Associations • belongs_to • has_one • has_many • has_many :through
• has_one :through • has_and_belongs_to_many
belongs_to • One to One • Singular
has_one • One to One • Contains or Possesses
has_many • One to Many • Plural
has_many through: • Many to Many • Zero or more
callbacks
callbacks