rails/rails — pull request #6800 by mschneider (2012-06-20 19:14:27+00:00)
Title: Dynamic finders for aliased attributes

previously dynamic finders only worked in combination with the actual column name and not it's alias defined with #alias_attribute