ods = Roo::OpenOffice.new("#{Rails.root}/public/assets/data/2018-10_updated_terms.ods", password: "a")
(2..ods.last_row).each do |row|
name = ods.cell(row, 'A')
definition = ods.cell(row, 'E')
Term.create!(:name => name, :definition => definition)
end
Issue
I cannot open ods files that are password protected. When the file does not have a password, it's parsed correctly and object is created when I check the database.
Steps to reproduce
Issue
I cannot open ods files that are password protected. When the file does not have a password, it's parsed correctly and object is created when I check the database.
System configuration
Roo version: 2.7.1
Rails version: 5.0.0.1