Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 03/14/2007

Joe Moore
Wednesday, March 14, 2007

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>
  • alias_method_chain is an extremely handy new method in Rails, which encapulates a common pattern. Much of Rails and appable_plugins is built on this.
  • And most importantly: Taqueria Cancun now has carnitas!!!.

Ask for Help

  • Has anyone had problems with IE6 failing to send Ajax requests?

Total Stand-up Meeting Time: 18:00 minutes

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Joe Moore

Joe Moore
New York

Recent Posts

  • How We Use tmux for Remote Pair Programming
  • Integrating Remote Developers: Intuitive, Flexible Video Conferencing
  • Pair Programming Matrix
Subscribe to Joe's Feed

Author Topics

agile (117)
pair programming (6)
remote (4)
remote pair programming (3)
tmux (1)
android (10)
mobile (10)
robolectric (4)
java (4)
c2dm (2)
testing (8)
apple (1)
ipad (1)
pivotal tracker (6)
sf.tug (2)
desert (2)
ruby on rails (13)
javascript (2)
capistrano (1)
palmpre (1)
active record (3)
activerecord (6)
mysql (1)
rubymine (1)
fun (4)
acts_as_fu (1)
rspec (2)
xp (1)
flash (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >