From 9401fa0b9c89f51e3ec0f7aaeee7404b4a14ada8 Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Tue, 7 Sep 2010 13:08:03 -0400 Subject: expanding the test to include both type of order declaration while declaring default_scope MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also added test for unscoped using block style with four different combinations Signed-off-by: José Valim --- activerecord/test/models/engine.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/models/engine.rb') diff --git a/activerecord/test/models/engine.rb b/activerecord/test/models/engine.rb index 751c3f02d1..851ff8c22b 100644 --- a/activerecord/test/models/engine.rb +++ b/activerecord/test/models/engine.rb @@ -1,3 +1,4 @@ class Engine < ActiveRecord::Base belongs_to :my_car, :class_name => 'Car', :foreign_key => 'car_id', :counter_cache => :engines_count end + -- cgit v1.2.3