Alex Dunae
Alex Dunae
A quick and dirty fix seems to be ``` ruby def build_scope(*columns) rel = yield columns.each { |c| val = record.send(c.to_sym) if record.respond_to?(:defined_enums) && record.defined_enums.key?(c.to_s) val = record.defined_enums[c.to_s][val] end rel...
I'm down to start a PR on this. The first step seems to be to update the test suite for multiple Rails versions. The standard seems to be https://github.com/thoughtbot/appraisal --...
Friendly bump on this. I'm going to need to fork this for my own use and likely wouldn't add test coverage for older Rails if it's just for me. If...
It's definitely a good idea, and I'd be happy to have an "official" integration. At this point the only limitation is time (i.e. mine). It seems like https://github.com/fphilipe/premailer-rails3 is pretty...
Wow, wouldn't have guessed that named colours would be an issue. We'll get this fixed. (Thanks for detailed issue report, too. Much appreciated).
Six chars it is.
It's a good suggestion. My only concern is in adding more options to the script (it already has 12). How do you use Premailer? Integrated into some other Ruby project,...
Thanks for doing that bit of research.
I'm currently re-writing the path handling in this and the CSS parser. Hang tight for a few more days an I should have a fix for you.
The base_uri stuff has been completely re-written. Can you give it a try and let me know if it's behaving for you. Also, note that you were using https://github.com/mikedamage/premailer-plus --...