Interesting Things
- Another IE6 issue: CSS selectors. A
div can have multiple classes, such as <div class="grey box"></div>, and there are multiple CSS selectors for this, only one of which works with IE6:
<code>
/* Works fine with IE6 */
.grey .box {
border: 1px solid black;
}
/* DOES NOT WORK with IE6 */
.grey.box { /* Note the lack of space! */
border: 1px solid black;
}
</code>- In Rails, It is possible to declare a “white list” and a “black list” of attributes that can be mass-assigned in an ActiveRecord model: Note that these cannot both be used in the same class!
attr_accessible (white list) – only attributes in this list can be mass-assigned.attr_protected (black list) – as long as an attribute is not in this list, it can be mass-assigned.
- Rspec redirect assertions now work! Use this in your controller specs:
<code>
response.should redirect_to(:controller => "my_controller", :action => :an_action)
</code>
Ask for Help
- Has anyone had problems with IE6 failing to send Ajax requests?
Total Stand-up Meeting Time: 18:00 minutes