Recent Episodes
-
187
Testing Exceptions Other translations:
Even well tested code can sometimes raise exceptions. In this episode we show you how to be notified about this and how to resolve these errors by making use of integration tests.
-
182
Cropping Images Other translations:
In this episode we create a slick user interface for cropping images using Paperclip and JCrop.
Tags: plugins
-
181
Include vs Joins Other translations:
The find method's include and joins options can be a little confusing as they are so similar. Find out when to use which one in this episode.
Tags: active-record
-
180
Finding Unused CSS. Other translations:
As websites change stylesheets can become filled with unused selectors. The Deadweight gem helps to determine which ones can be removed.
Tags: plugins
-
179
Seed Data Other translations:
Rails 2.3.4 introduces a new convention for creating any seed data that your application needs. This means that you no longer have to put seed data in your migrations.
Tags: active-record rails-23
-
178
七个安全技巧 Other translations:
Security is paramount in your Rails applications. Here we show seven commons security flaws from mass assignment to CSRF.
Tags: security forms views active-record
-
177
Model Versioning Other translations:
If you need to keep track of the changes to an ActiveRecord model and switch between versions the Vestal Versions gem is well worth considering.
Tags: active-record plugins
-
175
AJAX浏览记录和书签 Other translations:
AJAX-enabled sites do not usually play well with bookmarking or the brower's page history. In this episode we fix that with a simple jQuery plugin.
-
174
用AJAX进行分页 Other translations:
Use jQuery to add unobtrusive JavaScript links to a paginated list.
-
172
Touch and Cache Other translations:
Rails 2.3.3 has a new feature called 'touch'. In this episode we use it to auto-expire associated caches.
Tags: performance caching rails-23
