aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/bulb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/bulb.rb')
-rw-r--r--activerecord/test/models/bulb.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/models/bulb.rb b/activerecord/test/models/bulb.rb
new file mode 100644
index 0000000000..9eefc5803a
--- /dev/null
+++ b/activerecord/test/models/bulb.rb
@@ -0,0 +1,7 @@
+class Bulb < ActiveRecord::Base
+
+ default_scope :conditions => {:name => 'defaulty' }
+
+ belongs_to :car
+
+end