Add in missing available includes

This commit is contained in:
BrokenEagle
2021-01-22 02:43:53 +00:00
parent 6d867de20f
commit 5698847077
5 changed files with 17 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ class UserEvent < ApplicationRecord
q
end
def self.available_includes
[:user, :user_session]
end
concerning :ConstructorMethods do
class_methods do
# Build an event but don't save it yet. The caller is expected to update the user, which will save the event.