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
87
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
61
UW Advanced Rails Week 8
benwoodall
0
67
UW Advanced Rails Week 7
benwoodall
0
70
Week 6
benwoodall
0
71
UW Advanced Rails Week 5
benwoodall
0
78
UW Advanced Rails Week 4
benwoodall
0
85
UW Advanced Rails Week 2
benwoodall
0
250
UW Advanced Rails Week 1
benwoodall
0
120
A Bit More Git
benwoodall
1
5.1k
Other Decks in Programming
See All in Programming
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
480
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
680
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
3.6k
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
残高管理から台帳サービスへの進化
artoy
1
200
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
0
170
sbt 2.0: takeoff
eed3si9n
0
160
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
460
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Product Roadmaps are Hard
iamctodd
55
13k
Making Projects Easy
brettharned
120
6.8k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
30 Presentation Tips
portentint
PRO
1
430
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