Railscasts

Three times a week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well.

Episode 205: Unobtrusive Javascript


1 day ago by Ryan Bates on Railscasts.
Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice....

Episode 204: XSS Protection in Rails 3


8 days ago by Ryan Bates on Railscasts.
It is easy to be vulnerable to cross site scripting attacks in earlier versions of Rails, but Rails 3 solves this by automatically escaping unsafe input...

Episode 203: Routing in Rails 3


15 days ago by Ryan Bates on Railscasts.
Rails 3 sports a new routing interface. In this episode I show how to translate the old interface into the new one and show off a few new features....

Episode 202: Active Record Queries in Rails 3


22 days ago by Ryan Bates on Railscasts.
Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes....

Episode 201: Bundler


29 days ago by Ryan Bates on Railscasts.
Bundler is the way to manage gem dependencies in Rails 3.0. Learn how to install gems and lock them down in this episode....

Episode 200: Rails 3 Beta and RVM


~1 month ago by Ryan Bates on Railscasts.
Get started with Rails 3.0 Beta and install Ruby 1.9.1 using RVM: Ruby Version Manager. Stay tuned to the end for a challenge on giving back to open source...

Episode 199: Mobile Devices


~1 month ago by Ryan Bates on Railscasts.
Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface....

Episode 198: Edit Multiple Individually


~1 month ago by Ryan Bates on Railscasts.
Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields....

Episode 197: Nested Model Form Part 2


~1 month ago by Ryan Bates on Railscasts.
Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery....

Episode 196: Nested Model Form Part 1


2 months ago by Ryan Bates on Railscasts.
Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model...