RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xPlugins x
Testing JavaScript with PhantomJS
Episode #391 – Nov 07, 2012 – 84 comments

Testing JavaScript with PhantomJS

PhantomJS allows us to test JavaScript without going through a browser window. Here I show how to do this using Capybara and Poltergeist. I also give some tips on handling database transactions and skipping javascript tests. (10 minutes)
Active Record Reputation System
Episode #364 – Jul 09, 2012 – 105 comments

Active Record Reputation System

If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will cover the basics and also briefly present a from-scratch solution. (10 minutes)
Ransack
Episode #370 – Aug 03, 2012 – 93 comments

Ransack

Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page. (10 minutes)
MiniProfiler
Episode #368 – Jul 24, 2012 – 107 comments

MiniProfiler

MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code. (9 minutes)
Exploring RubyGems
Episode #384 – Oct 07, 2012 – 84 comments

Exploring RubyGems

RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch. (7 minutes)
Full-Text Search in PostgreSQL
Episode #343 – Apr 17, 2012 – 131 comments

Full-Text Search in PostgreSQL

Postgres offers full-text searching right out of the box. This episode shows how to write queries from scratch, apply tools like Texticle and pg_search, and optimize performance through indexes. (16 minutes)
Memcached & Dalli
Episode #380 – Sep 12, 2012 – 83 comments

Memcached & Dalli

Memcached is an excellent cache store, and Dalli is the best way to interact with it through Ruby. Here I show various ways to use Memcached in a Rails app including how to set it up in production. (12 minutes)
Mongoid (revised)
Episode #238 – Jul 28, 2012 – 76 comments

Mongoid (revised)

Mongoid is a Ruby gem for interacting with MongoDB. Here I show the basics of setting up an app, querying for records, adding embedded associations, overriding the id, and more. (9 minutes)
Simple OmniAuth (revised)
Episode #241 – Jun 02, 2012 – 91 comments

Simple OmniAuth (revised)

OmniAuth makes it easy to do user authentication through a third party provider such as Twitter or Facebook. Learn a simple approach in this episode. (11 minutes)
Twitter Bootstrap Basics
Episode #328 – Feb 28, 2012 – 138 comments

Twitter Bootstrap Basics

Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem. (10 minutes)