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
#36 Subversion on Rails
This episode will walk you through setting up a Rails ...
This episode will walk you through setting up a Rails project on subversion. It covers some helpful tips and gotchas you may experience along the way.
-
HD
#35 Custom REST Actions
REST adds many constraints. It restricts your controllers to seven ...
REST adds many constraints. It restricts your controllers to seven actions. Normally this is okay, but sometimes you need to add your own custom ac...
-
HD
#34 Named Routes
When you add a custom route, make it a named ...
When you add a custom route, make it a named route so you have url helper methods to easily link to that new route. See episode for details.
-
HD
#33 Making a Plugin
You can sometimes remove a lot of duplication by generating ...
You can sometimes remove a lot of duplication by generating methods dynamic. In this episode I will show you how to create a plugin which does exac...
-
HD
#32 Time in Text Field
Although Rails does allow you to edit time attributes with ...
Although Rails does allow you to edit time attributes with text fields, it's not very flexible. In this episode you will learn how to use a virtual...
-
HD
#31 Formatting Time
Learn how to use the trusty strftime method to format ...
Learn how to use the trusty strftime method to format a time, and see how Rails allows you to save this format for later use.
-
HD
#30 Pretty Page Title
If you are like me, you avoid creating page titles ...
If you are like me, you avoid creating page titles because it is kind of a pain. But in this episode I will show you a clean way to add titles to y...
-
HD
#29 group_by Month
Learn how to use the very useful group_by method to ...
Learn how to use the very useful group_by method to group an array by anything you want! In this episode I group an array of tasks by month then so...
-
HD
#28 in_groups_of
Have you ever wanted to visually line up items in ...
Have you ever wanted to visually line up items in rows and columns? The in_groups_of method makes this a cinch. Just watch out for the gotcha.
-
HD
#27 Cross Site Scripting
Another common security issue is cross site scripting. In this ...
Another common security issue is cross site scripting. In this episode you will see why it is so important to escape any HTML a user may submit.