Closed tricknotes closed 10 years ago
Thanks!
By the way, why
:css
option has gone? I liked it. Are there something problem with it?
Well, it meant we needed to interface with ActionMailer by monkey patching and extending rather than by using public APIs. Automatic
still uses extensions, but it does it in a place that should be a lot more stable. There was also the huge problem with precompiled assets that came from this option. A controller does not know about the assets, only the view does that. Accessing the view code and trying to integrate with it was non-trivial.
Basically, it should increase compatibility and reduce bugs over time, while still being simpler. We had to support <link>
elements, but we didn't have to support the :css
option, if you see what I mean. :-)
Thanks for your commentary! It was found well :-)
I fixed
Upgrading.md
's markup::arrow_down:
By the way, why
:css
option has gone? I liked it. Are there something problem with it? Ah, this question is just a interest :-)