aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-11-29 21:35:30 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-10 17:05:00 -0300
commit660882bda42ffacc602758631c2a2e6ba09c1ee1 (patch)
tree92d871deb3b253e1b5030460e41ea59da46511af /activerecord/test/models
parent09a8b146ef9e038d6036a21fb4f80e15f9ee969a (diff)
downloadrails-660882bda42ffacc602758631c2a2e6ba09c1ee1.tar.gz
rails-660882bda42ffacc602758631c2a2e6ba09c1ee1.tar.bz2
rails-660882bda42ffacc602758631c2a2e6ba09c1ee1.zip
Make sure the tests pass in the case closer to described in #8195
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/bulb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/bulb.rb b/activerecord/test/models/bulb.rb
index 888afc7604..ab3caa3f79 100644
--- a/activerecord/test/models/bulb.rb
+++ b/activerecord/test/models/bulb.rb
@@ -1,6 +1,6 @@
class Bulb < ActiveRecord::Base
default_scope where(:name => 'defaulty')
- belongs_to :car
+ belongs_to :car, :touch => true
attr_protected :car_id, :frickinawesome