Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writeexcel gem fails to create drodown with more values

 
Selva Chezhian Labam
Greenhorn
Posts: 11
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using "writeexcel" gem to create xls file in my Rails application.

For creating dropdown I am using the following code. This is working perfectly for minimum number of values.



In my case the source is having more than 45 values. If i am giving 16 or 17 values the file is generating properly. If the value is crossed it is throwing the following error.

can't convert String into Integer

Can anyone help me to solve the problem?

Thanks in Advance

Thanks,
Selva Chezhian
 
SatishKumar Chinnusamy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I too have the same problem.Please, some experts give a solution for this issue...

By:
SatishNTPL
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic