Answer the question
In order to leave comments, you need to log in
How can I generate reports in a dock in a Ruby on Rails project?
There is a project on Ruby on Rails. It is necessary to implement the report generator of the program (the data will be taken from the database). Reports in docx format. Tell a newbie how to implement this functionality
Answer the question
In order to leave comments, you need to log in
Collect data from the database and convert to docx. There are ready-made solutions for this.
https://github.com/trade-informatics/caracal
https://github.com/karnov/htmltoword
https://github.com/chrahunt/docx
Apparently, the number comes out too big and the variable overflows.
I agree with Kirill Romanov. I think it's because of the overflow. Although... strange... Shouldn't it throw an error? ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question