Replace deprecated find(:first) and find(:all)