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
UW Advanced Rails Week 3
Search
Ben Woodall
April 16, 2015
Programming
84
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UW Advanced Rails Week 3
Slides from Week 3
Ben Woodall
April 16, 2015
More Decks by Ben Woodall
See All by Ben Woodall
UW Advanced Rails Week 9
benwoodall
0
59
UW Advanced Rails Week 8
benwoodall
0
66
UW Advanced Rails Week 7
benwoodall
0
67
Week 6
benwoodall
0
71
UW Advanced Rails Week 5
benwoodall
0
75
UW Advanced Rails Week 4
benwoodall
0
84
UW Advanced Rails Week 2
benwoodall
0
240
UW Advanced Rails Week 1
benwoodall
0
120
A Bit More Git
benwoodall
1
5.1k
Other Decks in Programming
See All in Programming
Jetpack Compose メカニズム
skydoves
0
460
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
550
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
330
Webの地図
yosuke_furukawa
PRO
6
4.7k
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
290
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
360
XHTMLが残したもの
yosuke_furukawa
PRO
2
830
アクセシビリティから考える情報設計
high_g_engineer
0
380
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
850
Workers Cache を知る
syumai
0
140
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.4k
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Building Adaptive Systems
keathley
44
3.2k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
710
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
65k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
500
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Transcript
Questions from Week 2? 1
Week 3: 3rd Party Services & Email Spring 2015 2
What are 3rd Party Services? 3
What are some examples of 3rd Party Services? 4
What are some examples of 3rd Party Services? 5
What are some examples of 3rd Party Services? 6
What are some examples of 3rd Party Services? 7
REST SOAP RPC Web Sockets 8 How do we communicate
with them?
LIVE DEMO!
Using 3rd Party Services in Shortener 10
11
We need to update the dashboard view Controller needs to
know what to do if the user wants to tweet the link Give the user the ability to tweet Tweet! 12 What do we know so far?
Testing! 13 specs/controllers/links_controller_spec.rb
Our controller 14 app/controllers/links_controller.rb
Tweeting! 15 Gemfile app/models/user.rb
User migration 16
Console 17
What about testing? 18
What about testing? 19
Webmock 20 Gemfile spec/support/twitter.rb spec/spec_helper.rb
Tests 21
Email! 22
We need to tie into a mailing service Create a
mailer to mail an email to the user Make updates SOMEWHERE to email when a new user is created Build an email! 23 What do we know so far?
Setting up Mandrill 24 config/environments/production.rb
Setting up dev/test 25
Setting up dev/test 26
MailCatcher Setup 27 config/environments/development.rb Gemfile
Test Setup 28 config/environments/test.rb
Production 29 config/environments/production.rb
Creating a Mailer 30
The Mailers 31 app/mailers/user_mailer.rb app/mailers/application_mailer.rb
32 specs/mailers/user_mailer_spec.rb
33 specs/controllers/users_controller_spec.rb
#welcome_user 34 app/mailers/user_mailer.rb
Questions? 35