Routing Partials
Play
4:30 CC

Routing Partials

#80 May 14, 2017 free
The routes file can grow to be unmaintainable and messy. Learn to keep things organized by extracting out blocks of routes into their own files.

Mountable Engines
Play
9:23 CC

Mountable Engines

#79 May 7, 2017 free
Mountable Engines are a great way to extract code into its own namespace and allow the code to be reused in other applications. Other popular gems that are mountable engines are Devise and Doorkeeper.

Counter Cache Associations
Play
3:54 CC

Counter Cache Associations

#78 May 1, 2017 free
When displaying a count of records, this will generate extra SQL Queries. Learn how to reduce the number of SQL queries called with counter caching the number of associated records.

Cropping Images with JCrop
Play
7:00 CC

Cropping Images with JCrop

#77 Apr 23, 2017 free
Extend your image upload functionality with JCrop. Learn to redirect the user to a crop page once they have uploaded their image and save versions of the cropped images.

Javascript Select Form Fields with Chosen
Play
6:40 CC

Javascript Select Form Fields with Chosen

#76 Apr 16, 2017 free
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. Learn how to use Chosen in a few different ways in this episode; Rails form builder and Simple Form.