.find(:all) is depreciated, so i changed it to .all