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:
rails_admin x
Rails 3.1 Overview
This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features.
(13 minutes)
Factories not Fixtures (revised)
Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show how to use Factory Girl to generate the needed records directly in the tests.
(9 minutes)
ERB Blocks in Rails 3
Blocks in ERB templates are handled differently in Rails 3.0 Beta 2. Learn all about it in this episode.
(9 minutes)
Template Inheritance
In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain.
(8 minutes)
Declarative Authorization
Declarative authorization provides an advanced and powerful solution for role based authorization.
(15 minutes)
Dynamic Page Caching
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.
(11 minutes)
More on Cucumber
There is a lot more to Cucumber than I showed in an earlier episode. See how to refactor complex scenarios in this episode.
(18 minutes)
Rails 2.2 Extras
This episode finishes up the Rails 2.2 series by showing a few miscellaneous additions that I find useful.
(4 minutes)
Action Caching
Action caching behaves much like page caching except it processes the controller filters. You can also make it conditional as seen in this episode.
(7 minutes)
YAML Configuration File
Application configuration shouldn't be spread throughout your code base. Instead a much better place to put it is an external YAML file. See how to do that in this episode.
(7 minutes)