Sometimes you need a special version of chrome because it has some features you need for testing, like in this...
When you want to test how an web-application reacts in a specific resolution, you can set up a specific...
Controller responses often include Javascript code that contains values from Ruby variables. E.g. you want to call a Javascript function...
By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...
After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...
You won't usually have to do this. It's OK to route all formats to a controller, and let...
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...
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...
If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...
If you're responsible for gatekeeping in a projects, here is a guide, what to do. In order to reduce...
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?
Imagine you have a piece of code that tries to send a request to a remote server. Now the server...
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...
Although it's tempting flirt with detecting mobile/touch devices with CSS media queries or Javascript feature detection alone, this approach...
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...
To reduce download time, application servers usually serve content using gzip compression, if the browser supports it.
If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...
How to ignore new files Globally Add the path(s) to your file(s) which you would like to ignore...