RailsCasts (Mobile) artwork

RailsCasts (Mobile)

346 episodes - English - Latest episode: almost 11 years ago - ★★★★★ - 58 ratings

Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This version is for mobile devices which cannot support the full resolution version.

Technology Education How To rails ruby on rails screencasts podcasts tips tricks tutorials training programming railscast
Homepage Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed

Episodes

#246 AJAX History State

December 27, 2010 08:00 - 10 minutes - 12.6 MB Video

The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added.

#245 New Gem with Bundler

December 20, 2010 08:00 - 7 minutes - 9.2 MB Video

Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works.

#244 Gravatar

December 13, 2010 08:00 - 5 minutes - 7.48 MB Video

Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode.

#243 Beanstalkd and Stalker

December 06, 2010 08:00 - 9 minutes - 9.97 MB Video

Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs.

#242 Thor

November 29, 2010 08:00 - 8 minutes - 9.11 MB Video

Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts.

#241 Simple OmniAuth

November 22, 2010 08:00 - 9 minutes - 9.23 MB Video

Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user.

#240 Search, Sort, Paginate with AJAX

November 15, 2010 08:00 - 13 minutes - 14.5 MB Video

Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX.

#239 ActiveRecord::Relation Walkthrough

November 07, 2010 07:00 - 11 minutes - 17.7 MB Video

The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 source code.

#238 Mongoid

November 01, 2010 07:00 - 11 minutes - 12.1 MB Video

Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys.

#237 Dynamic attr_accessible

October 25, 2010 07:00 - 9 minutes - 10.7 MB Video

It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode.

#236 OmniAuth Part 2

October 13, 2010 07:00 - 15 minutes - 17.4 MB Video

In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations.

#235 OmniAuth Part 1

October 11, 2010 07:00 - 10 minutes - 14.6 MB Video

OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise.

#234 SimpleForm

October 04, 2010 07:00 - 7 minutes - 9.32 MB Video

Simple Form is a convenient way to generate forms with many options to customize the generated markup.

#233 Engage with Devise

September 27, 2010 07:00 - 6 minutes - 8.22 MB Video

Janrain Engage (aka RPX) makes it easy to support many authentication solutions through their one service.

#232 Routing Walkthrough Part 2

September 19, 2010 07:00 - 13 minutes - 19.1 MB Video

In this episode we continue our look into the Rails 3 router by exploring the Mapper class.

#231 Routing Walkthrough Part 1

September 13, 2010 07:00 - 13 minutes - 19.5 MB Video

How does routing work internally in Rails 3? In this episode I'll walk you through the Rails code that makes routing possible.

#230 Inherited Resources

September 06, 2010 07:00 - 9 minutes - 10.7 MB Video

Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance.

#229 Polling for Changes

August 30, 2010 07:00 - 16 minutes - 16.5 MB Video

If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery.

#228 Sortable Table Columns

August 23, 2010 07:00 - 10 minutes - 11.5 MB Video

Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header.

#227 Upgrading to Rails 3 Part 3

August 16, 2010 07:00 - 9 minutes - 12.2 MB Video

Here we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view.

#226 Upgrading to Rails 3 Part 2

August 09, 2010 07:00 - 12 minutes - 19.1 MB Video

Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin.

#225 Upgrading to Rails 3 Part 1

August 02, 2010 07:00 - 11 minutes - 18 MB Video

In the first part of this series on upgrading a Rails 2 application to Rails 3, we'll start off by setting up Rails 3.0 Release Candidate in a clean environment. The rails_upgrade plugin will then help us determine what needs upgrading.

#224 Controllers in Rails 3

July 26, 2010 07:00 - 10 minutes - 12.4 MB Video

Embedded flash notices, permanent cookies, and the details of respond_with are in this episode.

#223 Charts

July 19, 2010 07:00 - 16 minutes - 19 MB Video

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

#222 Rack in Rails 3

July 12, 2010 07:00 - 8 minutes - 8.73 MB Video

The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal.

#221 Subdomains in Rails 3

July 05, 2010 07:00 - 13 minutes - 13.7 MB Video

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.

#220 PDFKit

June 28, 2010 07:00 - 8 minutes - 10.9 MB Video

Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit.

#219 Active Model

June 21, 2010 07:00 - 6 minutes - 8.03 MB Video

In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features to tableless models.

#218 Making Generators in Rails 3

June 14, 2010 07:00 - 10 minutes - 10.4 MB Video

Generators in Rails 3 have been rewritten to use Thor which means the code used to create a generator is quite different. Here you will learn the new way to make generators in Rails 3.

#217 Multistep Forms

June 07, 2010 07:00 - 15 minutes - 15.7 MB Video

See how to create a multi-step (wizard) form from scratch in this episode.

#216 Generators in Rails 3

May 31, 2010 07:00 - 11 minutes - 15 MB Video

Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences.

#215 Advanced Queries in Rails 3

May 24, 2010 07:00 - 9 minutes - 10.2 MB Video

Learn some advanced techniques regarding named scopes and get an introduction to Arel in this episode.

#214 A/B Testing with A/Bingo

May 17, 2010 07:00 - 11 minutes - 12.5 MB Video

A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option.

#213 Calendars

May 10, 2010 07:00 - 9 minutes - 10.7 MB Video

If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode.

#212 Refactoring & Dynamic Delegator

May 03, 2010 07:00 - 7 minutes - 8.19 MB Video

Learn how to refactor a set of conditional Active Record queries using a Dynamic Delegator.

#211 Validations in Rails 3

April 26, 2010 07:00 - 9 minutes - 10.2 MB Video

Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model.

#210 Customizing Devise

April 19, 2010 07:00 - 7 minutes - 8.32 MB Video

Here we dive deeper into Devise by customizing how the views, routing, validations, and authentication works.

#209 Introducing Devise

April 12, 2010 07:00 - 10 minutes - 12.6 MB Video

Devise is a full-featured authentication solution which handles all of the controller logic and form views for you. Learn how to set it up in this episode.

#208 ERB Blocks in Rails 3

April 05, 2010 07:00 - 9 minutes - 9.6 MB Video

Blocks in ERB templates are handled differently in Rails 3.0 Beta 2. Learn all about it in this episode.

#207 Syntax Highlighting

March 29, 2010 07:00 - 9 minutes - 11.6 MB Video

Here I talk about three popular choices for syntax highlighting in Rails: CodeRay, Ultraviolet and Pygments.

#206 Action Mailer in Rails 3

March 22, 2010 07:00 - 12 minutes - 12.1 MB Video

Action Mailer has been rewritten for Rails 3 providing a much cleaner API with its use of the Mail gem.

#205 Unobtrusive Javascript

March 15, 2010 07:00 - 13 minutes - 13.4 MB Video

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice.

#204 XSS Protection in Rails 3

March 08, 2010 08:00 - 8 minutes - 8.63 MB Video

It is easy to be vulnerable to cross site scripting attacks in earlier versions of Rails, but Rails 3 solves this by automatically escaping unsafe input.

#203 Routing in Rails 3

March 01, 2010 08:00 - 13 minutes - 14.3 MB Video

Rails 3 sports a new routing interface. In this episode I show how to translate the old interface into the new one and show off a few new features.

#202 Active Record Queries in Rails 3

February 22, 2010 08:00 - 10 minutes - 10.7 MB Video

Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes.

#201 Bundler

February 15, 2010 08:00 - 9 minutes - 9.94 MB Video

Bundler is the way to manage gem dependencies in Rails 3.0. Learn how to install gems and lock them down in this episode.

#200 Rails 3 Beta and RVM

February 08, 2010 08:00 - 8 minutes - 11.3 MB Video

Get started with Rails 3.0 Beta and install Ruby 1.9.1 using RVM: Ruby Version Manager. Stay tuned to the end for a challenge on giving back to open source.

#199 Mobile Devices

February 01, 2010 08:00 - 13 minutes - 14.4 MB Video

Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface.

#198 Edit Multiple Individually

January 25, 2010 08:00 - 13 minutes - 14.7 MB Video

Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields.

#197 Nested Model Form Part 2

January 18, 2010 08:00 - 12 minutes - 12.4 MB Video

Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.