RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: json xPro Episodes xAjax x
AngularJS
Episode #405Feb 05, 2013243 comments

AngularJS

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. (16 minutes)
ActionController::Live
Episode #401Jan 19, 2013121 comments

ActionController::Live

Server-sent events allow you to trigger events on the browser from a persistent connection to the server. This requires Rails stream data which can be done through ActionController::Live, a feature upcoming in Rails 4. (14 minutes)
Backbone on Rails Part 1
Episode #323Feb 08, 2012207 comments

Backbone on Rails Part 1

In this first part of a two part series you will learn basic Backbone concepts including models, collections, routers, views and events. The backbone-on-rails gem is used for Rails integration with the asset pipeline. (18 minutes)
Running JavaScript in Ruby
Episode #297Nov 07, 201147 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)