RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources x
Hstore
Episode #345 – Apr 24, 2012 – 99 comments

Hstore

With hstore you can add schema-less data to PostgreSQL. This allows you to store model attributes without creating separate database columns. Watch how to do this using the activerecord-postgres-hstore gem. (10 minutes)
Generating RSS Feeds (revised)
Episode #87 – May 26, 2012 – 69 comments

Generating RSS Feeds (revised)

If you have a page containing a dynamic list of records, consider providing an RSS or Atom feed for it. It is quite easy to do with XML Builder and the atom_feed helper method as shown in this episode. (8 minutes)
Dangers of Session Hijacking
Episode #356 – Jun 08, 2012 – 82 comments

Dangers of Session Hijacking

If a user's authentication cookie is sent over an insecure connection it is vulnerable to session hijacking, or more specifically, sidejacking. Learn how this is done, and how you can prevent it. (6 minutes)
make_resourceful
Episode #92 – Feb 10, 2008 – 39 comments

make_resourceful

The make_resourceful plugin is a great way to DRY up the 7 RESTful actions common in most controllers. Learn how to use it in this episode. (6 minutes)
Sortable Lists (revised)
Episode #147 – Oct 13, 2011 – 131 comments

Sortable Lists (revised)

Here I show how to use jQuery UI to make a sortable list and a "sort" action to handle the updating. Top it off with acts_as_list to make it feature complete. (6 minutes)
Adding SSL
Episode #357 – Jun 08, 2012 – 79 comments

Adding SSL

It is important to protect a user's private information with HTTPS. Here you will learn how to get it working on your local machine, configure Rack SSL, install certificates for production, and more. (14 minutes)
Sending Email (revised)
Episode #61 – Apr 28, 2012 – 71 comments

Sending Email (revised)

Thanks to Action Mailer, sending email in Rails is easy but there are several gotchas to be aware of. Here I show how to send an email upon submitting a form and the configuration options necessary. (8 minutes)
Bullet
Episode #372 – Aug 09, 2012 – 60 comments

Bullet

Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported. (6 minutes)
Twitter Integration
Episode #359 – Jun 15, 2012 – 76 comments

Twitter Integration

Here I show how to integrate Twitter into a Rails app. This includes fetching data, caching it, and even how to authenticate as a user signing in to your application through Twitter. (14 minutes)
Celluloid
Episode #367 – Jul 18, 2012 – 65 comments

Celluloid

Celluloid puts an object-oriented spin on multi-threaded development. Here I cover the fundamental features of Celluloid in several examples. (11 minutes)