Add support for rails 3 & specs