Updated to rails 4 and mysql 0.3.15