Episodes
Multiple Databases
Play
12:33

Multiple Databases

#353 Jun 12, 2022 pro
As an application grows in popularity and usage you'll need to scale the application to support your new users and their data. One way in which your application may need to scale is on the database level. In this episode, we look at reading from a replica database while writing to a primary database. We also look at structuring our application top support multiple databases; each containing their own schema.

PDFs with Prawn
Play
24:21

PDFs with Prawn

#351 May 29, 2022 pro
Prawn is a pure Ruby PDF generation library that provides a lot of great functionality while trying to remain simple and reasonably performant. In this episode, we look at the styling our code and generating PDFs.

Limiting Text Input
Play
18:41

Limiting Text Input

#350 May 22, 2022 pro
User experience is important and there are little things that we can do to help improve this experience. By giving real time feedback on text inputs to approaching limits on fields, the user can modify and update their text accordingly before they submit the form. In this episode, we look at database level, model validations and limiting text input on the client side.

Secure User Passwords
Play
8:26

Secure User Passwords

#349 May 15, 2022 pro
We have a look at integrating the HaveIBeenPwned service with Devise so that our users will some awareness of their password being potentially compromised.

Discussing Race Conditions
Play
12:38

Discussing Race Conditions

#348 May 8, 2022 pro
In this episode, we have a look at some causes of race conditions and go about some ways to troubleshoot and mitigate them.