#17 HABTM Checkboxes (revised) Dec 22, 2011 | 6 minutes | Active Record , Views , Forms A many-to-many association can be edited through check boxes in a form. Here I show how to do this with a has_many through association complete with clickable labels. Subscribe to Watch Episode Twe...

Here we have a simple method for calculating Fibonacci numbers that we trigger five times, each in a separate thread and when the program has finished we print out the total time it took to run. When we run this under JRuby it takes under a second to complete, but if we switch Ruby ve...

#410 Ember Part 2 pro Mar 12, 2013 | 14 minutes | Views , Plugins , APIs Here we continue our look into Ember.js. First we add a JSON API to persist the entries through ember-data. Then we finish up the project by adding a computed property and a view object. Subscribe to Watch Episod...

#408 Ember Part 1 pro Mar 04, 2013 | 15 minutes | Views , Plugins Ember.js is a javascript framework for making rich client-side applications. In the first part of this two part series I show how to setup templates, controllers, and routes. Subscribe to Watch Episode Tweet Show Notes ...

Related:

Find out exactly what Rails is doing under the hood when it renders a view template for a response. What object context handles the template? How does the lookup process work? That and more covered in this code walkthrough.

#165 Edit Multiple (revised) Feb 25, 2013 | 15 minutes | Forms Editing one record at a time can be tedious work. Here you will learn three different ways to edit multiple records at once using checkboxes. Subscribe to Watch Episode Tweet Show Notes 6 Comments Similar Episodes < Previo...

Calendars are tricky to make from scratch but there are a number of third-party solutions available that will let us do almost anything we want with calendars and dates. One of these is the calendar_date_select plugin . This gives us a helper method that works with the Prototype libra...

The Rails API docs are very useful but can be difficult to read. This episode will give some tips on reading the docs and mention a few alternative sites for accessing the API. Update: sorry about the broken movie, it should work now.

This is a fantastic question. As I expressed in a comment below, we've been using AngularJS in production for a couple months now with huge success. However, we didn't start off using Angular--at first, we used a more "traditional" (one might say "old school") style of basic, imperati...

Related:

AngularJS is an awesome framework for easily creating rich, client-side applications. Its powerful bindings allow you to do a lot with very little code. Here I show how to integrate Angular with a Rails app.

A useful side-effect of this is that it helps us to get a better understanding of how Rails works. For our error we can see that the check_box method is triggered in our code and working through the stack trace we’ll see that this method is called on a form builder and we can carry on...

#229 Polling for Changes (revised) Jan 14, 2013 | 10 minutes | Ajax , Performance Polling may not be as common today as pushing changes over an open socket, however it is still an effective, simple solution if you do not need instantaneous updates. Subscribe to Watch Episode Tweet Sho...