inky-rb icon indicating copy to clipboard operation
inky-rb copied to clipboard

Rails 7 support?

Open aforty opened this issue 3 years ago • 4 comments

I just updated to rails 7 and I can't seem to get this to load. It looks like it never registers the inky extension. Has anyone gotten this to work?

aforty avatar Dec 02 '22 21:12 aforty

I'm using Inky with Rails 7 and Ruby 3.1 on Windows and Alma Linux.

I do use a simple monkey patch to remove layout breaking whitespace from the generated HTML, but this is for an Inky bug, and not related to the Rails version.

daniel-rikowski avatar Dec 05 '22 09:12 daniel-rikowski

I just updated to rails 7 and I can't seem to get this to load. It looks like it never registers the inky extension. Has anyone gotten this to work?

same 4 me

randombrick avatar Mar 01 '23 10:03 randombrick

looks like its completely gone with rails 7.1

inky-rb-1.4.2.0/lib/inky.rb:38:in `release_the_kraken'

NoMethodError: # undefined method `gsub' for #<ActionView::OutputBuffer

phoet avatar Sep 20 '23 13:09 phoet

I've made a simple change, it seems to work with Rails 7.1.beta1 now:

https://github.com/foundation/inky-rb/pull/110

zealot128 avatar Sep 20 '23 13:09 zealot128