Closed arigatodon closed 6 years ago
@arigatodon There could be several reasons, including the data itself. What is your template at this point?
this is the content template http://bit.ly/2ro18Qb
@arigatodon Did you get it working? Sorry for the delay. I would first try removing both loops and returning just your headers (make sure there isn't a problem with your data.) Then I would strip out the styles to make sure they aren't the issue.
Incidentally your respond_to statement looks fine.
Hello my problem happens when you respond respond_to do |format| format.xlsx {render xlsx: xlsx,filename: "ler.xlsx"} end I was seeing other solutions but I did not understand how to use it with the respond