Changed dependency to rails 3.0.0