Sign in through GitHub
Applied Filters: Free Episodes xViews x
In-Place Editing
Episode #302Nov 28, 201157 comments

In-Place Editing

Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. (8 minutes)
Mercury Editor
Episode #296Nov 07, 201168 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)
Draper
Episode #286Oct 03, 201148 comments

Draper

Clean up complex view logic using Draper. This gem provides decorators (much like presenters) which bundles view logic in an object oriented fashion. In this episode I do a step-by-step refactoring of a complex template into a decorator. (12 minutes)
Markdown with Redcarpet
Episode #272Jun 27, 201162 comments

Markdown with Redcarpet

Redcarpet is an easy-to-use gem which interprets Markdown. Here I show how to customize it and add syntax highlighting through Pygments and Albino. (6 minutes)
Template Inheritance
Episode #269Jun 06, 201124 comments

Template Inheritance

In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain. (8 minutes)
HTTP Streaming
Episode #266May 16, 201132 comments

HTTP Streaming

HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. (9 minutes)
Decent Exposure
Episode #259Mar 28, 201139 comments

Decent Exposure

The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables. (9 minutes)
I18n Backends
Episode #256Mar 07, 201135 comments

I18n Backends

Internationalization is easy to add in Rails, but the YAML files can be difficult to manage. In this episode I show how to use Redis for managing the translations through a web interface. (11 minutes)
Sortable Table Columns
Episode #228Aug 23, 201059 comments

Sortable Table Columns

Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. (10 minutes)
Charts
Episode #223Jul 19, 201060 comments

Charts

There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app. (16 minutes)