Support for ActiveRecord on Rails 3.