cleanup
updated to rails 4