Updating to rails 4.1.4 and improving postres app in rails