Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

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


attr_accessible is gone

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

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.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *