Database, Model and Scopes
Play
15:36 CC

Database, Model and Scopes

#150 Sep 9, 2018 pro
In this episode, we take a look at some tips and tricks around the database schema and model scopes.

Improving Partial Loading Performance
Play
11:38 CC

Improving Partial Loading Performance

#145 Aug 5, 2018 free
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.

ActiveRecord Migrations
Play
12:00 CC

ActiveRecord Migrations

#95 Aug 27, 2017 free
This episode covers different tips and tricks around database migration files.

Auditing with Paper Trail
Play
6:30 CC

Auditing with Paper Trail

#96 Sep 4, 2017 free
Using the paper_trail gem, track changes to model records for auditing purposes and rollback changes when required.

Database Index Optimization and Migration Maintenance
Play
4:54 CC

Database Index Optimization and Migration Maintenance

#53 Nov 6, 2016 free
Adding indexes to your databases can increase the SQL search performance on your tables. As your application grows, migration files can become out of hand, use squasher to squish them down to a single file.