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
#276 Testing Time & Web Requests
It can be difficult to test code that deals with ...
It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and ...
-
HD
#275 How I Test
Here I show how I would add tests to the ...
Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to ...
-
HD
#274 Remember Me & Reset Password
It is easy to create authentication from scratch, but how ...
It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten...
-
HD
#273 Geocoder
If you need to work with geographic data, Geocoder is ...
If you need to work with geographic data, Geocoder is an excellent gem for converting addresses and coordinates, finding nearby locations, determin...
-
HD
#272 Markdown with Redcarpet
Redcarpet is an easy-to-use gem which interprets Markdown. Here I ...
Redcarpet is an easy-to-use gem which interprets Markdown. Here I show how to customize it and add syntax highlighting through Pygments and Albino.
-
HD
#271 Resque
Resque creates background jobs using Redis. It supports multiple queue ...
Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the q...
-
HD
#270 Authentication in Rails 3.1
Here I show off three new features in Rails 3.1 ...
Here I show off three new features in Rails 3.1 that will help with authentication: easier HTTP Basic, SecurePassword in the database, and forcing ...
-
HD
#269 Template Inheritance
In Rails 3.1 the controller inheritance also applies to the ...
In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views...
-
HD
#268 Sass Basics
Sass extends CSS with variables, nesting, mixins and more. Here ...
Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app.
-
HD
#267 CoffeeScript Basics
CoffeeScript allows you to write JavaScript in a concise, elegant ...
CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app.