RailsCasts (Mobile) artwork

RailsCasts (Mobile)

346 episodes - English - Latest episode: about 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

#306 ElasticSearch Part 1

December 12, 2011 08:00 - 9 minutes - 16.1 MB Video

Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is the first part in a two part series.

#304 OmniAuth Identity

December 05, 2011 08:00 - 11 minutes - 13.1 MB Video

With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider.

#302 In-Place Editing

November 28, 2011 08:00 - 8 minutes - 9.87 MB Video

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.

#300 Contributing to Open Source

November 21, 2011 08:00 - 9 minutes - 13.3 MB Video

GitHub makes it easier than ever to contribute to open source with pull requests. Here I show how to submit a pull request to the VCR project.

#298 Getting Started with Spree

November 14, 2011 08:00 - 10 minutes - 15.2 MB Video

Spree allows you to quickly turn a Rails project into a full eCommerce application. Here I show how to set it up and configure the look and feel of the store.

#296 Mercury Editor

November 07, 2011 08:00 - 11 minutes - 15.4 MB Video

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.

#294 Playing with PJAX

October 31, 2011 07:00 - 8 minutes - 9.47 MB Video

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.

#292 Virtual Machines with Vagrant

October 24, 2011 07:00 - 11 minutes - 13.6 MB Video

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.

#290 SOAP with Savon

October 17, 2011 07:00 - 9 minutes - 13.3 MB Video

Communicating with a SOAP API can be a daunting task. Savon makes this easier by presenting the SOAP API through a Ruby interface.

#288 Billing with Stripe

October 10, 2011 07:00 - 16 minutes - 21.1 MB Video

Stripe is a full-stack payment solution with very reasonable pricing and is easy to setup. See how to add it to a Rails application here. Currently only available in the US.

#286 Draper

October 03, 2011 07:00 - 12 minutes - 14.6 MB Video

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.

#285 Spork

September 26, 2011 07:00 - 9 minutes - 11.5 MB Video

Spork improves the loading time of your test suite by starting up your Rails application once in the background. Use it with Guard for the ultimate combo in fast feedback while doing TDD.

#284 Active Admin

September 19, 2011 07:00 - 12 minutes - 14.9 MB Video

Active Admin allows you to quickly build an admin interface with just a few commands. Not only does it look great, but it is very customizable as shown in this episode.

#283 Authentication with Sorcery

September 12, 2011 07:00 - 10 minutes - 12.8 MB Video

Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you.

#282 Upgrading to Rails 3.1

September 05, 2011 07:00 - 8 minutes - 12.7 MB Video

It is incredibly easy to upgrade to Rails 3.1, but if you want to take advantage of the asset pipeline you will need to put in some extra effort. Have no fear because I walk you through each of the necessary steps in this episode.

#281 Foreman

August 29, 2011 07:00 - 4 minutes - 4.41 MB Video

Foreman can help manage multiple processes that your Rails app depends upon when running in development. It also provides an export command to move them into production.

#280 Pry with Rails

August 22, 2011 07:00 - 8 minutes - 9.74 MB Video

Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging.

#279 Understanding the Asset Pipeline

August 15, 2011 07:00 - 11 minutes - 13.5 MB Video

The asset pipeline is probably the biggest feature in Rails 3.1, but it can seem like magic at first. Here I dive into exactly how the asset pipeline works.

#278 Search with Sunspot

August 08, 2011 07:00 - 10 minutes - 11.8 MB Video

Sunspot makes it easy to do full text searching through Solr. Here I show how to search on various attributes and add facets for filtering the search further.

#277 Mountable Engines

August 01, 2011 07:00 - 13 minutes - 12.7 MB Video

Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode.

#276 Testing Time & Web Requests

July 25, 2011 07:00 - 8 minutes - 9.81 MB Video

It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and FakeWeb gems.

#275 How I Test

July 18, 2011 07:00 - 15 minutes - 16.1 MB Video

Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make request, model, and mailer specs.

#274 Remember Me & Reset Password

July 11, 2011 07:00 - 12 minutes - 11.9 MB Video

It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten password" link.

#273 Geocoder

July 04, 2011 07:00 - 8 minutes - 9.43 MB Video

If you need to work with geographic data, Geocoder is an excellent gem for converting addresses and coordinates, finding nearby locations, determining distances, and more!

#272 Markdown with Redcarpet

June 27, 2011 07:00 - 6 minutes - 7.75 MB Video

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.

#271 Resque

June 20, 2011 07:00 - 12 minutes - 12.1 MB Video

Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues.

#270 Authentication in Rails 3.1

June 13, 2011 07:00 - 7 minutes - 6.56 MB Video

Here I show off three new features in Rails 3.1 that will help with authentication: easier HTTP Basic, SecurePassword in the database, and forcing SSL.

#269 Template Inheritance

June 06, 2011 07:00 - 8 minutes - 8.77 MB Video

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.

#268 Sass Basics

May 30, 2011 07:00 - 13 minutes - 15 MB Video

Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app.

#267 CoffeeScript Basics

May 23, 2011 07:00 - 11 minutes - 12.2 MB Video

CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app.

#266 HTTP Streaming

May 16, 2011 07:00 - 9 minutes - 10.1 MB Video

HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request.

#265 Rails 3.1 Overview

May 09, 2011 07:00 - 13 minutes - 16.4 MB Video

This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features.

#264 Guard

May 02, 2011 07:00 - 8 minutes - 10.5 MB Video

Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more.

#263 Client Side Validations

April 25, 2011 07:00 - 8 minutes - 11.5 MB Video

Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem.

#262 Trees with Ancestry

April 18, 2011 07:00 - 9 minutes - 10.5 MB Video

The Ancestry gem works like a tree but also allows us to fetch deeply nested messages in a single query. It provides a method to arrange them after fetching.

#261 Testing JavaScript with Jasmine

April 11, 2011 07:00 - 15 minutes - 17.2 MB Video

Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery.

#260 Messaging with Faye

April 04, 2011 07:00 - 13 minutes - 13.5 MB Video

Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app.

#259 Decent Exposure

March 28, 2011 07:00 - 9 minutes - 12.8 MB Video

The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables.

#258 Token Fields

March 21, 2011 07:00 - 11 minutes - 13.7 MB Video

With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association.

#257 Request Specs and Capybara

March 14, 2011 07:00 - 13 minutes - 14.8 MB Video

Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium.

#256 I18n Backends

March 07, 2011 08:00 - 11 minutes - 12.4 MB Video

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.

#255 Undo with Paper Trail

February 28, 2011 08:00 - 13 minutes - 14.4 MB Video

Undo and redo behavior is easy to add with a versioning gem such as Paper Trail. Learn how to add an undo link to any model's flash message.

#254 Pagination with Kaminari

February 21, 2011 08:00 - 8 minutes - 10.1 MB Video

If you need pagination in Rails 3 try out Kaminari. It is a clean, flexible solution which uses scopes to flow nicely with Active Record queries. Did I mention it also works with Mongoid?

#253 CarrierWave File Uploads

February 14, 2011 08:00 - 9 minutes - 11.7 MB Video

CarrierWave makes it easy and clean to add file uploads to your application. It supports a variety of ORMs, frameworks and image processors.

#252 Metrics Metrics Metrics

February 07, 2011 08:00 - 7 minutes - 14.7 MB Video

Metric Fu, Metrical, SimpleCov, Rails Best Practices, and more are covered in this episode on metrics.

#251 MetaWhere & MetaSearch

January 31, 2011 08:00 - 8 minutes - 10.2 MB Video

MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options.

#250 Authentication from Scratch

January 24, 2011 08:00 - 15 minutes - 16.4 MB Video

Password authentication is not too complicated to make from scratch, it will also help to get a better understanding of how it works.

#249 Notifications in Rails 3

January 17, 2011 08:00 - 10 minutes - 12.6 MB Video

Rails 3 comes with instrument support through the ActiveSupport::Notifications class. Call "subscribe" to listen to notifications, and "instrument" to send them.

#248 Offline Apps Part 2

January 10, 2011 08:00 - 14 minutes - 17.1 MB Video

Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline.

#247 Offline Apps Part 1

January 03, 2011 08:00 - 10 minutes - 12.6 MB Video

Learn how to make a site usable offline through an HTML 5 cache manifest. This first part of the series covers rack-offline and problems you may run into.