betterfrontend
betterfrontend copied to clipboard
HAML using :id => wrong.
Need to add docs for following use case which is detrimental.
Public Service Announcement: I don't know who's doing this, but whoever's been doing an #id and {:id => 'id'} in the same >element in haml needs to stop doing that [8/16/12 11:05:27 AM] Hong: it's wrong and messes up the resulting id because haml joins it [8/16/12 11:05:56 AM] Hong: so %div#someid{:id => 'someid'} becomes
[8/16/12 11:06:01 AM] Hong: which is wrong [8/16/12 11:06:18 AM] Hong: if someone sees that in the views, please clean it up