convert to rails 4.0 and change to polterguist driver