Since im so pragmatig (read: forgetful+lazy) i came up with a simple solution:
now it starts looking nice and clean 🙂
<%= js_tag 'ufo' %> <%= js_tag 'jquery.min.js' %>
2 thoughts on “js_tag and css_tag”
I think this may cause difficulties in code interpretation. In addition, this does not improve the software functionality, and this type of tag is used a few times (most times in the layout only). I do not think good idea increase code entropy in favor of readability, what do you think?
i think it improves readability/writability(no need to think: need js -> use js_tag), but like all aliases it has the drawbacks you mentioned. So far all newcommers to our project have used js/css_tag without asking questions 🙂