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:
redirect x
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)
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)
I18n Backends
Internationalization is easy to add in Rails, but the YAML files can be difficult to manage. In this episode I show how to use Redis for managing the translations through a web interface.
(11 minutes)
Undo with Paper Trail
Undo and redo behavior is easy to add with a versioning gem such as Paper Trail. Learn how to add an undo link to any model's flash message.
(13 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)
Multistep Forms
See how to create a multi-step (wizard) form from scratch in this episode.
(15 minutes)
Cropping Images
Present a slick user interface for cropping image attachments using Jcrop and Paperclip.
(14 minutes)
Controllers in Rails 3
Embedded flash notices, permanent cookies, and the details of respond_with are in this episode.
(10 minutes)
Routing Walkthrough Part 2
In this episode we continue our look into the Rails 3 router by exploring the Mapper class.
(13 minutes)