Episodes

#148 ActiveRecord Callbacks 8-26-2018

Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become harder to maintain over time. It is better to extract the responsibility and separate the logic.
6
pro rails model activerecord 0 Comments

#147 State Machines with AASM 8-19-2018

State Machines are useful for tracking the state of an object. With AASM, we take a dive into how states can transition as well as modifying states and interacting with them.
3
pro rails ruby state machine 0 Comments

#146 Rails API Documentation 8-12-2018

In this episode, we look at creating an interactive documentation for a Rails API.
2
pro rails documentation api 6 Comments

#145 Improving Partial Loading Performance 8-5-2018

N+1 queries can make an application slow. Having queries called within views can also slow down an app as well as making it less extendable.
12
free rails performance database 0 Comments

#144 Creating PDF files with WickedPDF 7-29-2018

Easily create PDF files within your Rails Application with Wicked PDF.
1
pro rails pdf 4 Comments