Latest Screencasts
Polymorphism with Many-to-Many Associations – A Teach Me To Code Tutorial
Teach Me To Code - 2011-06-03 - free
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 screencastMany to Many Associations in Ruby on Rails – A Teach Me To Code Tutorial
Teach Me To Code - 2011-05-27 - free
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 screencastConfiguring ActiveRecord in Sinatra
Screencasts Org - 2011-03-31 - freeIn 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 screencastUsing ActiveRecord with Sinatra
Screencasts Org - 2011-03-20 - freeIn 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 screencastRailsCasts #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 screencastRailsCasts #239 ActiveRecord::Relation Walkthrough
Railscasts - 2010-11-07 - free
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 screencastAjax 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.
Rails Screencast: ActiveRelation & ActiveModel
Rails3 - 2010-06-08 - freeActive 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 screencastRailsCasts #217 Multistep Forms
Railscasts - 2010-06-07 - freeRailsCasts #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