moved to rails 4