objectmentor.com

Slides presenting ways to integrate the ideas of Aspect-Oriented Programming in Ruby. Outline Why Aspect-Oriented Programming?

Sometimes you need a special version of chrome because it has some features you need for testing, like in this...

You can set the resolution and user agent used in selenium tests with chrome with the method described in this...

When you want to test how an web-application reacts in a specific resolution, you can set up a specific...

The closest is probably Nimbus Sans L, which is released under the GPL, AFPL, LPPL licenses. However, I couldn't...

Note that you are not allowed to embed any font in a website. You need to check the license first...

All our projects have enum-like requirements like this: An attribute value must be included in a given set of...

You can change which branches will be pushed when saying git push. Our recommendation is to set it to current...

The default behavior of Calc is that when you paste cells from the clipboard, it overwrites whatever cells occupy the...

wholemeal.co.nz

If you cannot install the gem 'RedCloth' via bundle install you might want to try the following. Specifying extra build...

weblog.jamisbuck.org

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

robots.thoughtbot.com

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

You won't usually have to do this. It's OK to route all formats to a controller, and let...

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.

makandra dev

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

This only applies to RSpec below version 1.3.2. The issue has been fixed in RSpec 1.3.2, and most likely RSpec...

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

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

When your model is using a callback like before_save or before_validation to calculate an aggregated value from its...

Imagine you have 2 HTML boxes. The first one has a margin-bottom of let's say 30px and the...