Merge pull request #4674 from BrokenEagle/add-missing-associated-attributes

Add missing associated attributes
This commit is contained in:
evazion
2021-02-04 00:37:32 -06:00
committed by GitHub
7 changed files with 21 additions and 7 deletions

View File

@@ -72,4 +72,8 @@ class EmailAddress < ApplicationRecord
def verification_key
signed_id(purpose: "verify")
end
def self.available_includes
[:user]
end
end