开发者

Validating an Excel file in a Rails app

开发者 https://www.devze.com 2022-12-14 13:22 出处:网络
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 con

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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消