From 874603ce8d7b9077650ef3632a161597424486d9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 30 Apr 2008 00:25:52 -0500 Subject: Change tests against all scope to base scope as all is now used as a finder alias --- activerecord/test/models/topic.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/models/topic.rb') diff --git a/activerecord/test/models/topic.rb b/activerecord/test/models/topic.rb index d2503b78df..f63e862cfd 100755 --- a/activerecord/test/models/topic.rb +++ b/activerecord/test/models/topic.rb @@ -1,4 +1,5 @@ class Topic < ActiveRecord::Base + named_scope :base named_scope :written_before, lambda { |time| { :conditions => ['written_on < ?', time] } } -- cgit v1.2.3