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
New Gem with Bundler
Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works.
(7 minutes)
Gravatar
Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode.
(5 minutes)
Beanstalkd and Stalker
Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs.
(9 minutes)
Thor
Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts.
(8 minutes)
Simple OmniAuth
Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user.
(9 minutes)
Search, Sort, Paginate with AJAX
Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX.
(13 minutes)
ActiveRecord::Relation Walkthrough
The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 source code.
(11 minutes)
Mongoid
Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys.
(11 minutes)
Dynamic attr_accessible
It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode.
(9 minutes)
OmniAuth Part 2
In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations.
(15 minutes)