glebm / to_spreadsheet

Render XLSX from Rails using existing views (html ⇒ xlsx)
Other
91 stars 37 forks source link

Error with Rails 6.0 #35

Closed cseelus closed 5 years ago

cseelus commented 5 years ago

Doesn't work with Rails 6 anymore, unfortunately:

Invalid formats: "xlsx", "html"
…/gems/actionview-6.0.0/lib/action_view/lookup_context.rb:288:in `formats='

Tested with 1.0.6 and current master from Github.

cseelus commented 5 years ago

Edit: Created a PR that resolves this issue.

glebm commented 5 years ago

Thanks! Released v1.0.7: https://github.com/glebm/to_spreadsheet/releases/tag/v1.0.7

cseelus commented 5 years ago

Awesome ❤️