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...
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.
This sounds promising: The best part from the Rails side, is that you don’t have to change anything at...
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...
Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!
Generated animations are free to use without backlink obligations... ... WITH THE EXCEPTION of any other animated images generator applications
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...
Promises unified window for all chat conversations, better call quality. Upgrade seems to work fine. If you installed your old...
Introspect the Ruby Heap by indexing, counting, locating references to and detaching (in order to release) objects.
In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...
If you have a file that looks like a precompilation fingerprint, the Rails asset pipeline will not see it. So...
The amount helper now retrieves the decimal separator from your I18n dictionary (number.format.separator) instead of hardcoding it to a comma...
A collection of inspirational websites using media queries and responsive web design. Curated by Eivind Uggedal (@uggedal).
The linked article describes how to use a Firefox addon "Flash-Aid" to install a better build of Flash and...
This script loads a dump into your development database. You can provide the full path to you database dump like...
Read the linked article together with this reply to get an appreciation for why it's a bad idea to...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...