aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/car.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-07-24 23:47:44 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-07-25 18:52:31 +0900
commit4dd47fb9d5885b345dedfd00d55ad0425ab46904 (patch)
tree469c96934d96cd2cbe35130658b017fc880a03dc /activerecord/test/models/car.rb
parent962d2d2737fd48d20077cb0c38938473af88d054 (diff)
downloadrails-4dd47fb9d5885b345dedfd00d55ad0425ab46904.tar.gz
rails-4dd47fb9d5885b345dedfd00d55ad0425ab46904.tar.bz2
rails-4dd47fb9d5885b345dedfd00d55ad0425ab46904.zip
More unused associations in AR test models
Diffstat (limited to 'activerecord/test/models/car.rb')
-rw-r--r--activerecord/test/models/car.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/test/models/car.rb b/activerecord/test/models/car.rb
index a14a9febba..6d257dbe7e 100644
--- a/activerecord/test/models/car.rb
+++ b/activerecord/test/models/car.rb
@@ -1,12 +1,9 @@
class Car < ActiveRecord::Base
-
has_many :bulbs
has_many :funky_bulbs, class_name: 'FunkyBulb', dependent: :destroy
has_many :foo_bulbs, -> { where(:name => 'foo') }, :class_name => "Bulb"
- has_many :frickinawesome_bulbs, -> { where :frickinawesome => true }, :class_name => "Bulb"
has_one :bulb
- has_one :frickinawesome_bulb, -> { where :frickinawesome => true }, :class_name => "Bulb"
has_many :tyres
has_many :engines, :dependent => :destroy