aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
diff options
context:
space:
mode:
authorthedarkone <thedarkone2@gmail.com>2013-09-29 18:56:32 +0200
committerthedarkone <thedarkone2@gmail.com>2013-09-29 18:58:50 +0200
commite9bf87f08e77a457e1b82c2409abcaf4aef5f97c (patch)
tree01d5b6fc007aa511a2a5ddf092423de198a2647c /activerecord/lib/active_record/associations.rb
parent414d1eaf6cd9333fe0c4123ba8d7157946505a3b (diff)
downloadrails-e9bf87f08e77a457e1b82c2409abcaf4aef5f97c.tar.gz
rails-e9bf87f08e77a457e1b82c2409abcaf4aef5f97c.tar.bz2
rails-e9bf87f08e77a457e1b82c2409abcaf4aef5f97c.zip
Fix AR#method_missing re-dispatching into overwritten attribute methods.
This was happening when a `super` call in an overwritten attribute method was triggering a method_missing fallback, because attribute methods haven't been generated yet. class Topic < ActiveRecord::Base def title # `super` would re-invoke this method if define_attribute_methods # hasn't been called yet resulting in double '!' appending super + '!' end end
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
0 files changed, 0 insertions, 0 deletions