From 081ddb6f24d70794ee9e071d3ed5302f52b26c4d Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Mon, 24 Mar 2008 02:50:02 +0000 Subject: Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/lib/active_record.rb') diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb index 4d85c24584..cedcd8b0a8 100755 --- a/activerecord/lib/active_record.rb +++ b/activerecord/lib/active_record.rb @@ -37,6 +37,7 @@ unless defined? ActiveSupport end require 'active_record/base' +require 'active_record/named_scope' require 'active_record/observer' require 'active_record/query_cache' require 'active_record/validations' @@ -64,6 +65,7 @@ ActiveRecord::Base.class_eval do include ActiveRecord::Observing include ActiveRecord::Timestamp include ActiveRecord::Associations + include ActiveRecord::NamedScope include ActiveRecord::AssociationPreload include ActiveRecord::Aggregations include ActiveRecord::Transactions -- cgit v1.2.3