Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
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...
If you get this: Installing typhoeus (0.3.3) with native extensions /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem...
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 need to revert a migration that happened a while back. You'd create a new migration...
When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...
The handy method has_select?(field, :selected => text) does not behave as expected with Cucumber 0.10.2, Capybara 0.4.1.2 and Selenium...
REST Client is a nice, simple HTTP client library for Ruby. When you do a simple GET request like that...
Don't you just hate to write Cucumber path helpers to be able to say this?
The attached patch lets you find a record by a string or number in any column: User.find_by_anything('carla...
This is a very general introduction to MV* Javascript frameworks. This card won't tell you anything new if you...
In order to save the original value of a constant, set the new value and restore the old value after...
Imagine you have a piece of code that tries to send a request to a remote server. Now the server...
Sometimes you need to restart the Gnome panel, e.g. when you installed a new Gnome panel widget but the widget...
If Sunspot does not work and fails with a backtrace similar to this: /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:227:in `adapt_response' /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:164...
Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...
If you want to move a complete commit from one repository to another (and you don't want to add...
This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...
A short tutorial for XPath. It's the first XPath introduction that ever stuck with me. Also see XPath in...
Removing features and merging those changes back can be painful. Here is how it worked for me.\
If you're using Paperclip to store and convert images attached to your models, processing a lot of images will...
One of the most common production errors are ActionController::MethodNotAllowed errors. They usually happen when someone reloads a form by...
For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...