Updated rails and moved to pg