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
#66 Custom Rake Tasks
Rake is one of those tools that you don't realize ...
Rake is one of those tools that you don't realize how powerful it is until you start using it. In this episode you will learn how to create custom ...
-
HD
#65 Stopping Spam with Akismet
The Railscasts site has been getting a lot of comment ...
The Railscasts site has been getting a lot of comment spam in the past, but no longer. In this episode I will show you how I solved this problem by...
-
HD
#64 Custom Helper Modules
Rails designates one helper module per controller, but that shouldn't ...
Rails designates one helper module per controller, but that shouldn't stop you from making custom helper modules to help structure the code. Learn ...
-
HD
#63 Model Name in URL
By default, Rails uses the model's id in the URL. ...
By default, Rails uses the model's id in the URL. What if you want to use the name of the model instead? You can change this behavior by overriding...
-
HD
#62 Hacking ActiveRecord
Have you ever wanted to temporarily disable all validations? Well, ...
Have you ever wanted to temporarily disable all validations? Well, ActiveRecord doesn't support this, but that doesn't mean we can't add it. This e...
-
HD
#61 Sending Email
This is a brief guide to sending email in Rails. ...
This is a brief guide to sending email in Rails. See how to configure the environment, generate a mailer, create a template, and deliver the mail.
-
HD
#60 Testing without Fixtures
Tests which rely heavily on fixtures are brittle and can ...
Tests which rely heavily on fixtures are brittle and can be difficult to maintain. This episode will show a couple techniques for creating tests wh...
-
HD
#59 Optimistic Locking
When two people attempt to update the same record near ...
When two people attempt to update the same record near the same time, one of the updates will likely be overwritten. You can solve this problem wit...
-
HD
#58 How to Make a Generator
Rails comes with many built-in generators, but what if you ...
Rails comes with many built-in generators, but what if you want to customize them or make your own? Rails gives you a great way to do this which yo...
-
HD
#57 Create Model Through Text Field
Let's say you provide a select menu for setting which ...
Let's say you provide a select menu for setting which category a given product belongs to, but you also want the option of creating a new category ...