An = is represented by =3D in the log file. I got confused by the leading 3D which is not part...

Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...

weblog.jamisbuck.org

How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...

validates_acceptance_of :terms only works if terms is set to a value. The validation is skipped silently when terms...

robots.thoughtbot.com

TL;DR {} binds stronger than do … end (as always in Ruby, special characters bind stronger than words) Demo

The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...

stackoverflow.com

This will give you the string that appears most often in an array: names = %w[ foo foo bar bar bar...

stackoverflow.com

Usually you don't need to, but when you want to see which queries your MySQL server currently needs to...

Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.

stackoverflow.com

In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...

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.

makandra dev

When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...

icelab.com.au

We love Markdown. We use it wherever we can for text formatting. In a web app, the obvious place for...

slate.com

Nice article to educate your non-geek girlfriend/boyfriend about the joys of programming.

This is surprisingly difficult when there is a with the same text on the page, but you really want to...

github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...

Under Settings / Appearance you can uncheck a box Animate windows. This will change your life. This setting seems to not...

github.com

When trying to install the gherkin gem, you might encounter an error with the following lines: ERROR: Error installing gherkin...

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...

makandra dev

When you are calling a method that may raise an exception that you don't care about, you might think...

makandra dev

This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...

addyosmani.github.com

Developers these days are spoiled with choice when it comes to selecting an MV* framework for structuring and organizing JavaScript...