makandra dev
ruby-lang.org

It's the last bugfix release. We will get another year of security fixes, then no more patches.

makandracards.com

Updated the card with our current best practice (shared app code and specs via symlinks).

makandra dev

has_defaults is now a gem, no longer a plugin. The plugin version no longer exists. Note that plugins are...

I've got often this error on just one server: Err http://de.archive.ubuntu.com precise/universe amd64 Packages 404 Not Found [IP...

github.com

In moderately complex authorization scenarios you will often find yourself writing a map like this: class NotesController < ApplicationController power :notes...

If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel...

Check if you have puppetsync enabled on the master and client [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet...

ActiveSupport::Memoizable will be removed from Rails and has a lot of strange caveats that will ruin your day.

If you need the initial user which you used to login to your Linux system or the time when you...

martinciu.com

How to make class_attribute behave like class_inheritable_attribte which no longer exists in Rails.

stackoverflow.com

Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.

makandra dev

RSpec's be_false behaves unexpectedly: nil.should be_false # passes, as the expectation returns true If you want to check...

Lately, I came across a nasty error. I had a class Article that included FooTrait and BarTrait. In BarTrait, I...

makandra dev

Copy and paste at will, they're free! German quotation marks: „ “ (Ubuntu-Hotkey: AltGr+v and AltGr+b) English quotation...

I wonder if the guy that wrote BigDecimal#inspect has a tragic backstory that explains why he hates humanity.

makandracards.com

I posted a solution which is awesome and also does natural sorting.

Sometimes you need to remove high Unicode characters from a string, so all characters have a code point between 0...

makandra dev

Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever.

Take care when using rescue_from to rescue multiple errors. The following will not work, because later rescue_from statements...

webupd8.org

Also works on Gnome 2 Much prettier than Skype notifications Better visibility

CSS is a lot easier to write and read than clumsy XPath expressions. So when you need to use XPath...

LibreOffice Impress, Writer, etc. doesn't embed most fonts into the PDFs it generates. This means if you share a...

makandra dev
robots.thoughtbot.com

The Rails community has been abuzz with object-oriented programming, SOLID principles, laws, design patterns, and other principles, practices, and...

ask.libreoffice.org

Upgade to LibreOffice 3.5.3+ or disable hardware accelleration in Tools → Options → LibreOffice → View → Graphic output.