Set dependency to rails 3.0