upgraded to rails 4 + slight changes to recommendations