Ryan Bates

Episode 108: named_scope


over 3 years ago by Ryan Bates on Railscasts.
The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode....

Episode 109: Tracking Attribute Changes


over 3 years ago by Ryan Bates on Railscasts.
Rails 2.1 keeps track of the changes you make to a model's attributes. It also allows you to see what the previous value was. But watch out for the gotcha...

Episode 110: Gem Dependencies


over 3 years ago by Ryan Bates on Railscasts. [Linked from: RubyBlocks.se - Home]
In Rails 2.1 we now have the ability to set gem dependencies. Now it's easier than ever to specify which ruby gems our rails app relies on....

Episode 111: Advanced Search Form


over 3 years ago by Ryan Bates on Railscasts.
If you need to create an advanced search with a lot of fields, it may not be ideal to use a GET request as I showed in episode 37. In this episode I will...

Episode 112: Anonymous Scopes


over 3 years ago by Ryan Bates on Railscasts.
The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which...

Episode 113: Contributing to Rails with Git


over 3 years ago by Ryan Bates on Railscasts.
If you want Rails to behave a certain way, try changing it and submitting a patch. This episode will show how to do exactly this using Git....

Episode 114: Endless Page


over 3 years ago by Ryan Bates on Railscasts.
Ever wondered how some sites seem to have endless scrolling page with no pagination? Find out how easy it is to do this in Rails in this episode....

Episode 115: Caching in Rails 2.1


over 3 years ago by Ryan Bates on Railscasts.
Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode....

Episode 116: Selenium


over 3 years ago by Ryan Bates on Railscasts.
Selenium is a great way to test your app automatically through a browser. See how it works in this episode....

Episode 117: Semi-Static Pages


over 3 years ago by Ryan Bates on Railscasts.
Static pages can sometimes be a little awkward to add to a Rails app. See a couple different solutions to this problem in this episode....