Hey there! Check out HackerBooks.com - our latest project that let you search books from StackOverflow and HackerNews

Latest Screencasts

Polymorphic associations are very simple, as are many-to-many associations. When you blend the two, it’s not nearly as simple. Since there isn’t a working build-in mechanism for many-to-many polymorphic associations. Here’s a quick demo of what happens if you try to set up a traditional has_many :through association with a polymorphic association. I also show [...]

Watch this screencast

I had several requests in UserVoice to provide a Many to Many tutorial in Rails. This is a demonstration of how to put together a “has and belongs to many” association and a “has many through” association. This is somewhat basic to Ruby on Rails, but important if you need to associate different models. Download [...]

Watch this screencast

Configuring ActiveRecord in Sinatra

Screencasts Org - 2011-03-31 - free

In a previous episode, Using ActiveRecord with Sinatra, we showed you how to use ActiveRecord and Sinatra to build a URL shortener. We showed how to get ActiveRecord up and running in your Sinatra application, and now in this screencast, we'll show you the various ways on how to configure...

Watch this screencast

Using ActiveRecord with Sinatra

Screencasts Org - 2011-03-20 - free

In this screencast we'll create a URL shortener in Ruby with Sinatra. We're going to show you how to integrate ActiveRecord with a Sinatra application. You'll need this regular expression to follow along: /^\b((?:https?:\/\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))$/ What you'll learn How to integrate ActiveRecord in to Sinatra with sinatra-activerecord How to build a...

Watch this screencast

RailsCasts #251 MetaWhere & MetaSearch

Railscasts - 2011-01-31 - free

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.

Watch this screencast

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.

Watch this screencast

Ajax Validations with Rails and jQuery (Screencast)

Emerson Lackey - 2010-06-27 - free

Ajax validations are a great way to improve the user experience of your site. This screencast walks through the basic steps required to get a nice validation setup working with Rails 2.3.8 and jQuery. This technique is especially useful for validations that require server-side checks, like ensuring a value is unique.

Watch this screencast

Active Relation gives you a more powerful syntax for pulling datainto your application. We'll learn about the new syntax anddiscover how to leverage Active Model to enhance our plain old Rubyobjects. By rails3 Tags : 3, ActiveModel, ActiveRelation, Rails, Rails3, Ruby on Rails, active, model, rails, relation

Watch this screencast

RailsCasts #217 Multistep Forms

Railscasts - 2010-06-07 - free

See how to create a multistep (wizard) form from scratch in this episode.

Watch this screencast

RailsCasts #215 Advanced Queries in Rails 3

Railscasts - 2010-05-24 - free

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

Watch this screencast