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
#26 Hackers Love Mass Assignment
Your site may be at risk! When using mass assignment, ...
Your site may be at risk! When using mass assignment, you are giving the user complete control over that model and its associations. See how a hack...
-
HD
#25 SQL Injection
One of the most common security problems for dynamic sites ...
One of the most common security problems for dynamic sites is SQL Injection. Thankfully Rails does everything it can in solving this issue, but you...
-
HD
#24 The Stack Trace
The stack trace can be a very useful tool when ...
The stack trace can be a very useful tool when it comes to debugging. Learn the ins and outs of how the stack trace works in this episode. Note: I ...
-
HD
#23 Counter Cache Column
If you need to display the record count for a ...
If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.
-
HD
#22 Eager Loading
One way to improve performance is to cut down on ...
One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode!
-
HD
#21 Super Simple Authentication
The final piece of the administration puzzle: authentication. There are ...
The final piece of the administration puzzle: authentication. There are many different approaches which is why I saved this step for last. This epi...
-
HD
#20 Restricting Access
In this second part of the series on administration, you ...
In this second part of the series on administration, you will learn how to lock down the site to keep the public from accessing the administration ...
-
HD
#19 Where Administration Goes
This is the first part of a three part series ...
This is the first part of a three part series on building an administration system. Many developers choose to separate it completely from the publi...
-
HD
#18 Looping Through Flash
Displaying flash messages in the layout can be a pain ...
Displaying flash messages in the layout can be a pain at times. In this episode you will learn an easy way to display any kind of flash message by ...
-
HD
#17 HABTM Checkboxes
It is often asked: how do I create a list ...
It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode will show you how to do ...