homeASCIIcasts

Recent Episodes

  1. 187

    Testing Exceptions Other translations: En

    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.

    Tags: testing debugging

  2. 182

    Cropping Images Other translations: En

    In this episode we create a slick user interface for cropping images using Paperclip and JCrop.

    Tags: plugins

  3. 181

    Include vs Joins Other translations: En It

    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

  4. 180

    Finding Unused CSS. Other translations: En It

    As websites change stylesheets can become filled with unused selectors. The Deadweight gem helps to determine which ones can be removed.

    Tags: plugins

  5. 179

    Seed Data Other translations: En

    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

  6. 178

    七个安全技巧 Other translations: En

    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

  7. 177

    Model Versioning Other translations: En

    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

  8. 175

    AJAX浏览记录和书签 Other translations: En

    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.

    Tags: ajax plugins

  9. 174

    用AJAX进行分页 Other translations: En

    Use jQuery to add unobtrusive JavaScript links to a paginated list.

    Tags: ajax views

  10. 172

    Touch and Cache Other translations: En

    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