#79 Mountable Engines 2017-05-07

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.
7
rails view gem engine 2 Comments 9:23 min

#78 Counter Cache Associations 2017-05-01

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.
3
rails model cache 3 Comments 3:54 min

#77 Cropping Images with JCrop 2017-04-23

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.
3
rails form javascript upload 4 Comments 7:00 min

#76 Javascript Select Form Fields with Chosen 2017-04-16

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.
6
rails form javascript ajax view 2 Comments 6:40 min

#75 Drag and Drop with Interact.js 2017-04-09

Using Interact.js to create draggable and droppable items in our view, we can use AJAX callbacks on events to interact with our Ruby on Rails application. Also, learn how to use Ruby Assets to manage our Javascript Libraries.
10
rails javascript assets ajax view 1 Comment 15:20 min