Fixed bug: Rails model lookup fails in Zendesk import.
This commit is contained in:
parent
ac8ae54841
commit
4dcdcf1d30
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module Import
|
||||||
def skip?(field, *_args)
|
def skip?(field, *_args)
|
||||||
# check if the Ticket object already has a same named column / attribute
|
# check if the Ticket object already has a same named column / attribute
|
||||||
# so we want to skip instead of importing it
|
# so we want to skip instead of importing it
|
||||||
Ticket.column_names.include?( local_attribute(field) )
|
::Ticket.column_names.include?( local_attribute(field) )
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue