#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.
0
rails model cache 3 Comments

#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.
0
rails form javascript upload 4 Comments

#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.
4
rails form javascript ajax view 2 Comments

#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.
6
rails javascript assets ajax view 1 Comment

#74 Page Specific Javascript in Ruby on Rails 2017-04-02

Sometimes you may find yourself with an application that has javascript that needs to execute only on a specific page. This episode lays the foundation to easily manage page specific javascript.
7
rails javascript view 1 Comment