How to make class_attribute behave like class_inheritable_attribte which no longer exists in Rails.
Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.
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...
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...
Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever.
Also works on Gnome 2 Much prettier than Skype notifications Better visibility
In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...
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...
Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...
The Rails community has been abuzz with object-oriented programming, SOLID principles, laws, design patterns, and other principles, practices, and...
Recent rails security updates have shown that people make incorrect assumptions about the possible contents of the params hash.
Media Queries have reached W3C Recommendation on June 19th 2012. If you were interested in other (future) web standards you...
This sounds promising: The best part from the Rails side, is that you don’t have to change anything at...
New way to install an actual puppet version on ubuntu
Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!
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...
Last week saw a security issue with rails 2.3 that required a fix. While an official patch was provided, the...
Why string sorting sucks in vanilla Ruby Ruby's sort method doesn't work as expected with special characters (like...