RailsCasts (Mobile)

50 episodes listed below

Listen to the show on

Rails features built, broken and fixed on screen.

The gist

RailsCasts (Mobile) is a Ruby on Rails screencast where the host opens a small sample app, such as a store, a blog or a recipe site, and adds a working feature on screen. The recordings show the errors, failing specs and awkward workarounds along the way, then end with the host's plain view of the trade-offs.

PRESS PLAY

Find your next episode

All episodes

About RailsCasts (Mobile)

RailsCasts (Mobile) is a Ruby on Rails screencast that teaches by building. A typical episode begins with a small application and a clear target. One is a store scaffolded with a product name and price. Another is a blog whose articles each have many comments. A third is a cookbook site where users share recipes, leave comments and add each other as friends. The host then builds a working feature on screen, writing code, reloading the page and checking the result. In '#417 Foundation' that means adding Zurb Foundation to a fresh app, pasting in a prepared top navigation bar, and overriding Sass variables to turn its background dark blue. Along the way the host notes that Foundation is built on Sass rather than Less, which can make it easier to fit into a Rails app, and that it can run on the smaller Zepto.js instead of jQuery. In '#409 Active Model Serializers' the blog gets a JSON API, and its comments move to the root level for the benefit of client-side JavaScript frameworks. Upgrades get the same hands-on treatment. The Rails 4 upgrade walkthrough starts with a checklist: the latest Rails 3.2, up-to-date gems, Ruby 1.9.3 or newer, and a test suite that passes. Then things break. The router rejects the old match method, the specs fail on mass assignment from a Papertrail model, and each problem is fixed until the upgrade goes through. The host does not pretend every fix is elegant. In the activity-feed episode, the model reaches into the controller to record the current user. The host says this workaround feels kind of ugly, then keeps it because it works. Comparisons end with the same honesty: Foundation and Twitter Bootstrap are both called great frameworks, and choosing between serializers and view templates is called a question with no wrong answer. Two episodes open by citing viewer requests. One asked for a GitHub-style activity feed, the other for importing the CSV and Excel files that an earlier episode showed how to export. The series often points back to itself, citing earlier numbered installments on Twitter Bootstrap, Turbolinks and the new features of Rails 4. Episode 400 marks the milestone by trying out Rails 4 from the master branch, celebrating that the public index.html file no longer has to be deleted, and showing how to remove Turbolinks. It closes with a challenge to learn a new language or framework, graphic design, or something outside technology, because trying new things makes for better Rails developers. For a developer choosing a CSS framework, '#417 Foundation' is the obvious entry point, and for one holding a Rails 3.2 app, '#415 Upgrading to Rails 4'.

Made for: Suits a Rails developer who learns best by watching code get written, run and fixed inside a real app. It also suits one who wants to see a gem or an upgrade path working before touching their own codebase.

What sets it apart: Each technique is built inside a small working app with the errors and fixes left in view, and the host openly flags ugly workarounds and declines to name a winner between similar tools. Episodes also refer back to earlier numbered installments, so the catalog reads as a connected reference.

In their own words

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.

Rails 4 upgrade and new featuresfront-end frameworks: Foundation, Bootstrap, SassJSON APIs with Active Model Serializersactivity feeds with the Public Activity gemCSV and Excel importstrong parameters and mass assignmentTurbolinks

Talks about

Best episodes of RailsCasts (Mobile)

Short reviews from the PlayNext desk, based on the episodes we processed.

#415 Upgrading to Rails 4May 6, 2013

A Rails 3.2-to-4.0 upgrade becomes a practical pass through failing specs, deprecations, and targeted fixes.

This episode frames a Rails 3.2-to-4.0 upgrade as careful maintenance rather than a leap of faith. It begins with the basics: move to the latest Rails 3.2 release, update gems, confirm Ruby 1.9.3 or newer, and make sure the test suite passes before working on a separate git…

#400 What's New in Rails 4Jan 4, 2013

A hands-on Rails 4 preview covering setup, generated pages, assets, Turbolinks, and controller changes.

RailsCasts' 400th episode treats Rails 4 as something to try at the bench, starting with a master-branch clone because there is no gem pre-release available at recording time.

Podcasts like RailsCasts (Mobile)

Episodes

  1. 1

    #417 Foundation

    Jun 16, 2013·11m
  2. 2

    #415 Upgrading to Rails 4

    Hidden gem
    May 6, 2013·13m
  3. 3

    #412 Fast Rails Commands

    Apr 4, 2013·8m
  4. 4

    #409 Active Model Serializers

    Mar 9, 2013·11m
  5. 5

    #406 Public Activity

    Feb 13, 2013·11m
  6. 6

    #402 Better Errors & RailsPanel

    Jan 25, 2013·8m
  7. 7

    #400 What's New in Rails 4

    Hidden gem

    RailsCasts #400 walks through Rails 4.0.0 by building a blog app from the master branch, with Ruby 1.9.3+ and a Bundler pre-release workaround called out early.

    Jan 4, 2013·20m·1 clip
  8. 8

    #396 Importing CSV and Excel

    Dec 8, 2012·10m
  9. 9

    #393 Guest User Record

    Nov 21, 2012·9m
  10. 10

    #390 Turbolinks

    Nov 5, 2012·8m
  11. 11

    #387 Cache Digests

    Oct 20, 2012·8m
  12. 12

    #384 Exploring RubyGems

    Oct 7, 2012·7m
  13. 13

    #382 Tagging

    Sep 22, 2012·11m
  14. 14

    #378 FnordMetric

    Sep 4, 2012·10m
  15. 15

    #376 JRuby Basics

    Aug 30, 2012·11m
  16. 16

    #374 Image Manipulation

    Aug 16, 2012·11m
  17. 17

    #372 Bullet

    Aug 9, 2012·6m
  18. 18

    #370 Ransack

    Aug 3, 2012·10m
  19. 19

    #368 MiniProfiler

    Jul 24, 2012·9m
  20. 20

    #366 Sidekiq

    Jul 18, 2012·10m
  21. 21

    #364 Active Record Reputation System

    Jul 9, 2012·10m
  22. 22

    #362 Exporting CSV and Excel

    Jul 2, 2012·7m
  23. 23

    #360 Facebook Authentication

    RailsCasts #360 builds Facebook authentication into a Rails movie-review app named Cinematron.

    Jun 25, 2012·12m
  24. 24

    #358 Brakeman

    Jun 15, 2012·8m
  25. 25

    #356 Dangers of Session Hijacking

    Jun 8, 2012·6m
  26. 26

    #354 Squeel

    May 30, 2012·9m
  27. 27

    #352 Securing an API

    May 23, 2012·8m
  28. 28

    #350 REST API Versioning

    This episode explains how to build a versioned REST API in Ruby on Rails, separate from the HTML interface.

    May 16, 2012·11m
  29. 29

    #348 The Rails API Gem

    May 9, 2012·10m
  30. 30

    #346 Wizard Forms with Wicked

    This episode demonstrates how to create a multi-step signup form in Ruby on Rails using the Wicked Gem.

    May 3, 2012·12m
  31. 31

    #347 Rubber and Amazon EC2

    This episode demonstrates how to deploy a Rails application to Amazon EC2 using the Rubber gem.

    May 3, 2012·17m
  32. 32

    #344 Queue Classic

    Apr 24, 2012·8m
  33. 33

    #342 Migrating to PostgreSQL

    Apr 17, 2012·8m
  34. 34

    #340 DataTables

    Apr 11, 2012·10m
  35. 35

    #338 Globalize3

    Apr 4, 2012·6m
  36. 36

    #336 Copycopter

    Mar 27, 2012·7m
  37. 37

    #334 Compass & CSS Sprites

    Mar 21, 2012·10m
  38. 38

    #332 Refinery CMS Basics

    Mar 14, 2012·11m
  39. 39

    #330 Better Sass with Bourbon

    Mar 7, 2012·7m
  40. 40

    #328 Twitter Bootstrap Basics

    Feb 28, 2012·10m
  41. 41

    #326 ActiveAttr

    Feb 21, 2012·5m
  42. 42

    #324 Passing Data to JavaScript

    Feb 13, 2012·7m
  43. 43

    #322 RABL

    Feb 8, 2012·9m
  44. 44

    #320 Jbuilder

    Jan 30, 2012·8m
  45. 45

    #318 Upgrading to Rails 3.2

    Jan 23, 2012·10m
  46. 46

    #316 Private Pub

    Jan 16, 2012·8m
  47. 47

    #314 Pretty URLs with FriendlyId

    Jan 9, 2012·8m
  48. 48

    #312 Sending HTML Email

    Jan 2, 2012·6m
  49. 49

    #310 Getting Started with Rails

    Dec 26, 2011·8m
  50. 50

    #308 Oh My ZSH

    Dec 19, 2011·9m