Remove deprecated #find(:all) call
Replace deprecated #all with #where