You are viewing a single comment's thread. Return to all comments →
So your code have to work.
Here is mine:
def scoring(array) array.each do |user| unless user.is_admin? user.update_score end end end
It works
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Control Structures - Unless
You are viewing a single comment's thread. Return to all comments →
So your code have to work.
Here is mine:
It works