Updated to rails 4
Updated to rails 4