mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update qbo_item.rb
This commit is contained in:
1 parent
5d04a8b246
commit
7bd74df165
1 file changed
+2
-2
@@ -30,8 +30,8 @@ class QboItem < ActiveRecord::Base
|
||||
# Update the item table
|
||||
items.each { |item|
|
||||
qbo_item = QboItem.find_or_create_by(id: item.id)
|
||||
qbo_item.update_column(:name, item.name)
|
||||
qbo_item.update_column(:id, item.id)
|
||||
qbo_item.update_column(:name, item.name.to_s)
|
||||
qbo_item.update_column(:id, item.id.to_i)
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user