diff --git a/src/shield/models/user.cr b/src/shield/models/user.cr index 438bf8fe..f8053bcc 100644 --- a/src/shield/models/user.cr +++ b/src/shield/models/user.cr @@ -26,7 +26,7 @@ module Shield::User {% if Avram::Model.all_subclasses.find(&.name.== :UserOptions.id) %} include Shield::HasOneUserOptions - {% elsif Avram::Model.all_subclasses.find(&.name.== :UserSettings.id) %} + {% elsif Lucille::JSON.includers.find(&.name.== :UserSettings.id) %} include Shield::UserSettingsColumn {% end %}