Sign in through GitHub
Auto-Complete Association (revised)
Episode #102Nov 10, 201137 comments

Auto-Complete Association (revised)

A select menu is often used for setting a belongs_to association, but you should also consider using a text field with autocomple. Here I use jQuery UI and show two different solutions: client side and server side. (9 minutes)
Running JavaScript in Ruby
Episode #297Nov 07, 201124 comments

Running JavaScript in Ruby

Sometimes logic needs to be shared between the server-side (Ruby) and the client-side (JavaScript). Here I show how to run JavaScript directly in Ruby through ExecJS and therubyracer. (14 minutes)
Mercury Editor
Episode #296Nov 07, 201167 comments

Mercury Editor

Mercury allows you to edit a section of HTML directly in the web browser through a WYSIWYG editor. Here I show how to integrate Mercury into a Rails app and save the changes back to the database. (11 minutes)
PDFs with Prawn (revised)
Episode #153Nov 03, 201143 comments

PDFs with Prawn (revised)

Prawn is an excellent Ruby library for generating PDF documents. Here you will learn how to add it to a Rails application through a separate PDF renderer class. (11 minutes)
Sharing Mustache Templates
Episode #295Oct 31, 201130 comments

Sharing Mustache Templates

Mustache is a simple, logic-less templating language which allows you to use the same template for both Ruby and JavaScript. See how to set it up with a custom template handler in this episode. (17 minutes)
Playing with PJAX
Episode #294Oct 31, 201151 comments

Playing with PJAX

PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-pjax gems. (8 minutes)
Factories not Fixtures (revised)
Episode #158Oct 27, 201119 comments

Factories not Fixtures (revised)

Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show how to use Factory Girl to generate the needed records directly in the tests. (9 minutes)
Nginx & Unicorn
Episode #293Oct 24, 201152 comments

Nginx & Unicorn

Nginx and Unicorn make a killer-combo for hosting a Rails application in production. Learn how to configure each in a Vagrant virtual machine in this episode. (19 minutes)
Virtual Machines with Vagrant
Episode #292Oct 24, 201150 comments

Virtual Machines with Vagrant

Vagrant allows you to run your Rails application and all of its dependencies in a portable, sharable environment. Use for development, set it up as a staging server, or experiment with a production setup. (11 minutes)
Exception Notifications (revised)
Episode #104Oct 20, 201119 comments

Exception Notifications (revised)

Few things are worse than seeing a "Something went wrong" 500 error on your production application. Here I show how to be notified when this happens using exception_notification and mention several other alternatives. (6 minutes)