Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

tivanvodich's Profile

GitHub User: tivanvodich

Comments by

Avatar

Hi admin. I use Ruby 1.9.3 When I run this code. I met warning:
'''
Warning:C:/Users/T410/Desktop/chinsu/config/application.rb:3:in `': iconv will be deprecated in the future, use String#encode instead.'''
And when I lick button import in browser I met Error:
'''
Errno::EBADF in ProductImportsController#create

Bad file descriptor - C:/Users/T410/AppData/Local/Temp/RackMultipart20141104-5028-kjmbt6
app/models/product_import.rb:49:in new'
app/models/product_import.rb:49:in
open_spreadsheet'
app/models/product_import.rb:36:in load_imported_products'
app/models/product_import.rb:32:in
imported_products'
app/models/product_import.rb:18:in save'
app/controllers/product_imports_controller.rb:8:in
create'
'''