Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...
When you regularly make use of Cucumber's "show me the page" step (or let pages pop up as errors...
I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...
This is one possibility to do this. There are other and maybe even better ways to do this.
When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...
We love Markdown. We use it wherever we can for text formatting. In a web app, the obvious place for...
Nice article to educate your non-geek girlfriend/boyfriend about the joys of programming.
Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...
Install libreadline: sudo apt-get install libreadline-dev Reinstall the ruby and tell rvm where to find readline
This article shows how to create a Sass mixin for a colored button. The button's foreground color is dynamically...
If you want to know your public key's fingerprint, do this: ssh-keygen -lf ~/.ssh/my.key.pub This may be necessary...
Your current ruby must be Ruby Enterprise. gem install passenger passenger-install-apache2-module Edit your httpd.conf according to the...
Let's say you have two XML strings that are ordered differently but you don't care about the order...
When branches get deleted on origin, your local repository won't take notice of that. You'll still have your...
When you are calling a method that may raise an exception that you don't care about, you might think...
This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...
Undeterministically I got a nil error on saving the object caused by the random order of hash elements of the...
Developers these days are spoiled with choice when it comes to selecting an MV* framework for structuring and organizing JavaScript...
Let's say you need to revert a migration that happened a while back. You'd create a new migration...
You are looking for a functionality in RubyMine but don't know or remember its keyboard shortcut or which menu...
RubyMine offers you to exclude directories from search, meaning faster search results and less "noise" in the list of result...
Instead of showing you two lines for each change, Git allows you to highlight changes in a line explicitly:
When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...