Custom field list is already cached
Attempt to fix failing CI test that's working locally
Dieser Commit ist enthalten in:
Ursprung
097af63090
Commit
848a0dc0ca
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -12,6 +12,6 @@ module CustomWizardCustomFieldPreloader
|
||||||
end
|
end
|
||||||
|
|
||||||
def cw_fields
|
def cw_fields
|
||||||
@cw_fields ||= CustomWizard::CustomField.list_by(:klass, @cw_klass)
|
CustomWizard::CustomField.list_by(:klass, @cw_klass)
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -19,7 +19,7 @@ module CustomWizardCustomFieldSerializer
|
||||||
private
|
private
|
||||||
|
|
||||||
def cw_fields
|
def cw_fields
|
||||||
@cw_fields ||= CustomWizard::CustomField.list_by(:serializers, @cw_klass)
|
CustomWizard::CustomField.list_by(:serializers, @cw_klass)
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_cw_class
|
def get_cw_class
|
||||||
|
|
Laden …
In neuem Issue referenzieren