aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/car.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/car.rb')
-rw-r--r--activerecord/test/models/car.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/car.rb b/activerecord/test/models/car.rb
index b036f0f5c9..de1864345a 100644
--- a/activerecord/test/models/car.rb
+++ b/activerecord/test/models/car.rb
@@ -2,6 +2,8 @@ class Car < ActiveRecord::Base
has_many :bulbs
has_many :foo_bulbs, :class_name => "Bulb", :conditions => { :name => 'foo' }
+ has_many :frickinawesome_bulbs, :class_name => "Bulb", :conditions => { :frickinawesome => true }
+
has_many :tyres
has_many :engines
has_many :wheels, :as => :wheelable