Railscasts (iPod & Apple TV)
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 ...
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. Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.
Show all Visit Show Website http://www.railscasts.comRecently Aired
-
HD
#246 AJAX History State
The new pushState function in JavaScript allows us to change ...
The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support ca...
-
HD
#245 New Gem with Bundler
Creating new gems is easy with the `bundle gem` command. ...
Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works.
-
HD
#244 Gravatar
Gravatar is a service for providing user avatars. See how ...
Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode.
-
HD
#243 Beanstalkd and Stalker
Beanstalk is a fast and easy way to queue background ...
Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs.
-
HD
#242 Thor
Thor is an alternative to Rake. It has better support ...
Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts.
-
HD
#241 Simple OmniAuth
Authentication is incredibly simple to add with just OmniAuth if ...
Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user.
-
HD
#240 Search, Sort, Paginate with AJAX
Many administration pages have search, sorting, and pagination on the ...
Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX.
-
HD
#239 ActiveRecord::Relation Walkthrough
The new Active Record query methods in Rails 3 might ...
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 s...
-
HD
#238 Mongoid
Mongoid is a polished, high-level Ruby gem for accessing MongoDB. ...
Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys.
-
HD
#237 Dynamic attr_accessible
It is important to use attr_accessible for security with mass ...
It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how ...