mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 09:24:23 -05:00
Update qbo_item.rb
This commit is contained in:
@@ -30,8 +30,8 @@ class QboItem < ActiveRecord::Base
|
|||||||
# Update the item table
|
# Update the item table
|
||||||
items.each { |item|
|
items.each { |item|
|
||||||
qbo_item = QboItem.find_or_create_by(id: item.id)
|
qbo_item = QboItem.find_or_create_by(id: item.id)
|
||||||
qbo_item.update_column(:name, item.name)
|
qbo_item.update_column(:name, item.name.to_s)
|
||||||
qbo_item.update_column(:id, item.id)
|
qbo_item.update_column(:id, item.id.to_i)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user