diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-25 21:55:38 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-06-25 21:55:38 +0900 |
commit | 135437cbb660ec0db5dc2cca1c78c6ad985ec807 (patch) | |
tree | b1009cc0df5dc37393b9c8d1c0fb9a5383f43fe9 /activerecord/test/models | |
parent | 3d9e8d7c110f7053d73f61f2297bd46722294121 (diff) | |
download | rails-135437cbb660ec0db5dc2cca1c78c6ad985ec807.tar.gz rails-135437cbb660ec0db5dc2cca1c78c6ad985ec807.tar.bz2 rails-135437cbb660ec0db5dc2cca1c78c6ad985ec807.zip |
Ensure that using correct alias tracker
Covering #27994 in tests.
Closes #27994.
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/membership.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/membership.rb b/activerecord/test/models/membership.rb index 2c3ad230a7..0f8be0ad85 100644 --- a/activerecord/test/models/membership.rb +++ b/activerecord/test/models/membership.rb @@ -1,4 +1,5 @@ class Membership < ActiveRecord::Base + enum type: %i(Membership CurrentMembership SuperMembership SelectedMembership TenantMembership) belongs_to :member belongs_to :club end |