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

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

makandracards.com

I ported the initializer to Rails 3.

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.

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

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

In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...

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

Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...

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

Always use simply require 'spec_helper' If you mix it up like require 'spec_helper' require File.dirname(__FILE__) + '/../spec_helper'

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

seejohncode.com

This sounds promising: The best part from the Rails side, is that you don’t have to change anything at...

makandra dev

To have your text input field pre-filled in with some text that disappears as soon as the user selects...

ActiveSupport >= 3 has Date.parse('2011-02-10').beginning_of_quarter #=> 2011-01-01 Date.parse('2011-02-10').end_of_quarter...

jsfiddle.net

Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!

preloaders.net

Generated animations are free to use without backlink obligations... ... WITH THE EXCEPTION of any other animated images generator applications

blog.avisi.nl

On case-insensitive file systems like Mac's HFS+ (per default – you may change this, but it won't work...

If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...

If you upgrade to the mysql2 gem, you will run into the problem that the server's database.yml (which is...