Categories
- Active Record
- Active Resource
- Active Support
- Administration
- Ajax
- APIs
- Authentication
- Authorization
- Background Jobs
- Caching
- Code Walkthrough
- Controllers
- Debugging
- Deployment
- eCommerce
- Forms
- Mailing
- Models
- Performance
- Plugins
- Production
- Rack
- Rails 2.0
- Rails 2.1
- Rails 2.2
- Rails 2.3
- Rails 3.0
- Rails 3.1
- Rails 3.2
- Rails 4.0
- Refactoring
- Routing
- Search
- Security
- Testing
- Tools
- Views
Applied Filters:
resources x
OpenID with Authlogic
Learn how to apply OpenID to an existing Authlogic setup as I show in this episode. This builds upon the app from episode 160.
(11 minutes)
Model Versioning
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.
(9 minutes)
Non Active Record Model
This episode will show you how to make a model which isn't based on Active Record. You may want to do this if a resource isn't backed by the database.
(12 minutes)
Screen Scraping with ScrAPI
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.
(15 minutes)
Cron in Ruby
Cron is great for handling recurring tasks, but it is an external dependency with a crazy syntax. In this episode I show you how to use Whenever to create cron jobs with Ruby.
(8 minutes)
Touch and Cache
Rails 2.3.3 brings us a new feature called "touch". See how to use this to auto-expire associated caches in this episode.
(6 minutes)
Feed Parsing
Learn two different techniques for parsing an RSS feed using Feedzirra in this episode!
(10 minutes)
More on Virtual Attributes
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.
(7 minutes)
jQuery
How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS.
(9 minutes)
Factories not Fixtures
Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records.
(12 minutes)