views:

90

answers:

1

I have a Rails app which allows users to upload Excel files which need to be validated according to some pre-defined rules. For eg. sheet 1 contains two columns, a numerical id and a name; sheet 2 contains three other columns etc..

Are there any Ruby gems/libraries that can help in doing these validations?

+3  A: 

It's not really hard to do that by yourself. I highly recommend Spreadsheet gem.

khelll
Now, that is one sweet gem!
PEZ
I am using the roo gem which uses the spreadsheet gem internally for Excel files.
Vijay Dev
Did the validations using roo. Thanks!
Vijay Dev