I second sean's comment above: http://stackoverflow.com/questions/4238867/how-do-i-use-activesupport-core-extensions