upgrade to rails 4 - remove deprecated items