should work with rails 3 too now