allows rails 3