If you get this warning on your local machine one of these steps might help: Rebuilt the gem with the...
If some of your JavaScripts fail on Internet Explorer, but only in staging or production environments, chances are that JavaScript...
Browsing the git stash is a bit tricky. Here is how to see the changes without applying them:
There is no reason to leave trailing whitespace characters in your project's files, so don't add any.
The ActionMailer in Rails 2 depends on a buggy version of TMail, which sometimes inserts a blank line into the...
Given you store files on Amazon S3 and you need to stream those files out to people while you don...
Ever wanted autocompletion for paths from paths.rb in Cucumber? This card lets you write your steps like this:
If you type a command in your bash that doesn't exist you get this: bash: foo: command not found...
Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...
When you get an error like this: Invalid gemspec in [/opt/www/foo-project.makandra.de/shared/bundle/ruby/1.8/specifications/carrierwave-0.6.2.gemspec]: Illformed requirement ["# 1.1.4"] ... the machine's Rubygems needs to...
We frequently use the handy Paperclip Gem to manage file attachments. If you need to move the files from local...
Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...
pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...
If you have an html_safe string, you won't be able to call gsub with a block and match...
If you get errors from your development WEBrick that contain unicode salad, you are probably requesting the page via SSL...
This article describes how to reset MySQL's or MariaDB's root password on your workstation. It's meant for...
There are many fun Unicode characters like ▲ or ☯. You might be tempted to use them for graphical elements in lieu...
This works in modern RSpecs (RSpec >= 2.x) and Cucumbers: rspec spec/models/node_spec.rb:294:322 cucumber features/nodes.feature:543:563:579
Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...
So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...
You can quickly access views that belong to a controller by using the tiny "page with arrow" icon in the...
In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...
... you probably have a time zone issue. When you get Timecop.travel(Date.parse("2011-11-11 00:00") do Time.current # Thu...