Fixed bug: Rails model lookup fails in Zendesk import.

This commit is contained in:
Thorsten Eckel 2017-10-09 22:48:51 +02:00
parent ac8ae54841
commit 4dcdcf1d30

View file

@ -21,7 +21,7 @@ module Import
def skip?(field, *_args)
# check if the Ticket object already has a same named column / attribute
# so we want to skip instead of importing it
Ticket.column_names.include?( local_attribute(field) )
::Ticket.column_names.include?( local_attribute(field) )
end
private