Rails application with mysql backend