@@ -762,8 +762,7 @@ class Import
|
|||||||
mapping[:taggings] ||= {}
|
mapping[:taggings] ||= {}
|
||||||
|
|
||||||
import.tags.find_each do |old_tag|
|
import.tags.find_each do |old_tag|
|
||||||
new_tag = Tag.find_or_create_by!(title: old_tag.title) do |t|
|
new_tag = account.tags.find_or_create_by!(title: old_tag.title) do |t|
|
||||||
t.account_id = account.id
|
|
||||||
t.created_at = old_tag.created_at
|
t.created_at = old_tag.created_at
|
||||||
t.updated_at = old_tag.updated_at
|
t.updated_at = old_tag.updated_at
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user