Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Contents •v

12. Task G: Check Out! . . . . . . . . . . 165


Iteration G1: Capturing an Order 165
Iteration G2: Adding Fields Dynamically to a Form 177
Iteration G3: Testing Our JavaScript Functionality 184

13. Task H: Sending Emails and Processing Payments


Efficiently . . . . . . . . . . 189
Iteration H1: Sending Confirmation Emails 189
Iteration H2: Connecting to a Slow Payment Processor
with Active Job 196

14. Task I: Logging In . . . . . . . . . . . 207


Iteration I1: Adding Users 207
Iteration I2: Authenticating Users 211
Iteration I3: Limiting Access 217
Iteration I4: Adding a Sidebar, More Administration 219

15. Task J: Internationalization . . . . . . . . 225


Iteration J1: Selecting the Locale 226
Iteration J2: Translating the Storefront 229
Iteration J3: Translating Checkout 237
Iteration J4: Adding a Locale Switcher 245

16. Task K: Receive Emails and Respond with Rich Text . . 249
Iteration K1: Receiving Support Emails with Action Mailbox 249
Iteration K2: Storing Support Requests from Our Mailbox 255
Iteration K3: Responding with Rich Text 261

17. Task L: Deployment and Production . . . . . . 271


Configuring the database 273
Managing Secrets 274
Building a Docker image 276
Getting up and running 279
Checking Up on a Deployed Application 280

18. Depot Retrospective . . . . . . . . . . 285


Rails Concepts 285
Documenting What We’ve Done 288

You might also like