[Global Update] Rails 4, remove attr_accessible, change to postgre, fix clients_controller