1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/mixed_case_monkey.rb
wangjohn c9e2fa22cb Fixing multi-word automatic inverse detection.
Currently, ActiveRecord models with multiple words cannot have their
inverse associations detected automatically.
2013-08-15 02:44:02 -04:00

5 lines
98 B
Ruby

class MixedCaseMonkey < ActiveRecord::Base
self.primary_key = 'monkeyID'
belongs_to :man
end