brentd / xray-rails

☠️ A development tool that reveals your UI's bones
MIT License
1.22k stars 79 forks source link

causes encoding conflict with letter_opener #45

Closed pilgunboris closed 9 years ago

pilgunboris commented 10 years ago

Hello.

when I'm using both:

letter_opener opens emails with body in wrong encoding:

image

without xray-rails it works correctly.

brentd commented 10 years ago

Odd, I can’t see how xray’s middleware could be messing with the encoding but I guess it is. Or perhaps it's xray’s comments in the mailer template.

This will likely require digging into letter_opener, so it may be a bit before I get to this.

brentd commented 9 years ago

This is hopefully fixed in v0.1.17, as Xray should no longer be trying to augment mailer templates.