Moved up to rails 4