ProgressBar is a simple Ruby library for displaying progress of long-running tasks on the console. It is intended to...
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...
If you defined your association via class Article belongs_to "category" end and you try Article.scoped(:include => :category)
In order to chain greps on log files that are opened via tail -f test.log you have to use the...
This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...
You want Photoshop to always open files with "full" (100%) zoom and not try to fit them to your screen...
Views are normally (for good reason) not rendered in controller specs. If you need it to happen, use:
Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.
Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.
Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...
Let's say you have commits that change a file (and looking at the commit details show you the changes...
Removing features and merging those changes back can be painful. Here is how it worked for me.\
In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...
This note summarizes the ruby exception hierarchy. Exception NoMemoryError ScriptError LoadError NotImplementedError SyntaxError SignalException Interrupt Timeout::Error # < ruby 1.9.2 StandardError...
Using .downcase or .upcase on strings containing umlauts does not work as expected in Ruby versions before 2.4. It leaves...
This is for you if you get this error: cucumber.yml was found, but could not be parsed. Please refer to...
Though Internet Explorer 9 supports the box-shadow CSS property there is a nasty bug which sometimes prevents it from...
A pull quote is a typographical technique in which an excerpt or quote from an article is duplicated within the...
When you print out a HTML pages, all raster images (like PNGs) will appear aliased. This is because a printer...
When selecting records in a date range, take care not to do it like this: start_date = Date.parse('2007-05...
Although it's tempting flirt with detecting mobile/touch devices with CSS media queries or Javascript feature detection alone, this approach...
Basically, you now need to know if your project uses a "real" time zone or :local, and if config.active_record.time_zone...