aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/callbacks_test.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2015-02-06 10:50:44 -0800
committerclaudiob <claudiob@gmail.com>2015-02-06 10:50:44 -0800
commit124d4d59a09235fa319486caa0c8e12dafe9b92f (patch)
tree2d7cf2210b0cfd5cc6723929fc27c04b97a10c1f /activerecord/test/cases/associations/callbacks_test.rb
parent0f67f00d94aca0b65856a4305792997c6a34fff9 (diff)
downloadrails-124d4d59a09235fa319486caa0c8e12dafe9b92f.tar.gz
rails-124d4d59a09235fa319486caa0c8e12dafe9b92f.tar.bz2
rails-124d4d59a09235fa319486caa0c8e12dafe9b92f.zip
Do not use the same name for two `:belongs_to`
A model cannot have two `:belongs_to` with the same exact name, so we are better off avoiding this code in our examples, which might mislead users in thinking it's admissible. [ci skip]
Diffstat (limited to 'activerecord/test/cases/associations/callbacks_test.rb')
0 files changed, 0 insertions, 0 deletions