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

[NYC][Standup] 09/27/12: Protect all your attributes

JT Archie
Thursday, September 27, 2012

Interestings

attr_accessible is gone

The strong_parameters gem has been integrated into rails edge by DHH and replaces attr_accessible.

https://github.com/rails/rails/commit/c49d959e9d40101f1712a452004695f4ce27d84c

Capybara’s should_not have_css visibility: false

Capybara’s “should_not have_css “#whatevs”, visibility: false” results in flaky tests if the content in question is being hidden after a process completes (such as an AJAX request).

An alternative is “should_not have_selector “#whatevs”, visible: false”. This results in substantially less flaky integration tests.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

JT Archie

JT Archie
New York

Recent Posts

  • [Standup][NYC] 09.24.2012 Moral support for the pub and sub
  • merging scopes with STI models
  • What I’ve learned about RubyMotion
Subscribe to JT's Feed

Author Topics

agile (5)
  • 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 >