Recent rails security updates have shown that people make incorrect assumptions about the possible contents of the params hash.

Why string sorting sucks in vanilla Ruby Ruby's sort method doesn't work as expected with special characters (like...

makandra dev
github.com

Introspect the Ruby Heap by indexing, counting, locating references to and detaching (in order to release) objects.

I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec...

makandra dev
dzone.com

A collection of snippets to generate random number under certain conditions, as: gaussian with a specified distribution triangular distribution

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

If your project uses another version than your default Ruby, RubyMine will give you incorrect inspections, for example.\

stackoverflow.com

Using beginning_of_day or end_of_day on Date or DateTime objects in Rails 2.x applications will never...

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