RailsCasts (Mobile)
Summary: Every other week you will be treated to a new, free 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. A Pro option is also available containing more screencasts each week. This version is for mobile devices which cannot support the full resolution version.
- Visit Website
- RSS
- Artist: Ryan Bates
Podcasts:
The :include and :joins options for the find method can be a little confusing because they are so similar. In this episode I show specifically when to use which option.
Over time a CSS file can become large and filled with unused selectors. In this episode I show how to use the Deadweight gem to determine which CSS selects you can remove.
Rails 2.3.4 includes a conventional way to add seed data to your application - no more including it in the migration files.
Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection.
If you need to keep track of a model's history of changes and switch between versions, consider using the vestal_versions gem like I show in this episode.
Searchlogic makes searching models easier than ever with its assortment of named scopes. In this episode I show you how to create simple and advanced searches.
Browser page history and bookmarks do not usually work with AJAX requests, but in this episode I show you how to remedy this problem using a simple jQuery plugin.
Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery.
Screen scraping is not pretty, but sometimes it's your only option to extract content from an external site. In this episode I show you how to fetch product prices using ScrAPI.
Rails 2.3.3 brings us a new feature called "touch". See how to use this to auto-expire associated caches in this episode.
Is there a long running task which should be handled in the background? One of the best ways is using the delayed_job plugin like I show in this episode.
Learn how to apply OpenID to an existing Authlogic setup as I show in this episode. This builds upon the app from episode 160.
Use JavaScript to allow dynamic content in a page cache. In this episode I show you how to insert the user-specific content into a page through JavaScript.
Learn two different techniques for parsing an RSS feed using Feedzirra in this episode!
Use a virtual attribute to implement a simple tagging feature. In this episode I show you how to assign virtual attributes through a callback instead of a setter method.