We are maintaining some vintage projects with tests written in Test::Unit instead of RSpec. Mocks and stubs are not...
Depending on where you live, different rules are used to determine the number of the week and a weekday. You...
You can find ActiveRecord models by using a Range as its conditions: User.scoped(:conditions => { :id => 3..5 }) This will generate...
If you have the following deprecation warning after upgrading to rails >= 2.3.10 DEPRECATION WARNING: The :overwrite_params option is deprecated...
track down warnings and to see failing specs immediately or to get an overview of the core...
When you click a link or a press a button on a Selenium-controlled browser, the call will return control...
Around the time in my life when I stopped ordering drinks made with more than one ingredient, I was woken...
jQuery offers many different methods to move a selection through the DOM tree. These are the most important: $element.find(selector...
When you style multiple adjacent block elements with float: left, they will be rendered next to each other similar to...
When calling a Sass mixins, you usually don't need to quote arguments: +tint_article(#f21) However, when a CSS...
So you are comparing two Time objects in an RSpec example, and they are not equal, although they look equal...
Pressing the ? key will display a list of keyboard shortcuts. Available shortcuts are: |search |/| |help|?| |add story|a| |toggle backlog...
"Wallaby" is the codename for an experimental technology that converts the artwork and animation contained in Adobe® Flash® Professional (FLA...
If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...
If you want to get a deep understanding of how closures, blocks, procs & lambdas in Ruby work, check out the...
Currently, only up to 500 rows of Analytics table data can be exported at a time into CSV format. If...
Flash movies (.swf files) can talk with Javascript code embedded in the same HTML page. There are two ways to...
Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...
Note: For PostgreSQL you should use advisory locks. For MySQL we still recommend the solution in this card.
When you have a Cucumber step like Then I should see "Did you see those \"quotation marks\" over there...
There is no good equivalent for the Unix sudo command in Windows. Below are a few workarounds that are all...
To open a terminal quickly navigate to System → Preferences → Keyboard Shortcuts. There, click the "Run a terminal" row (It should...
On 32bit systems, the maximum representable Time is 2038-01-19 03:14:07 in UTC or 2038-01-19...
What are Google’s plans for turning WebM into a genuinely open standard, one that is based on consensus like...