relax to rails 3