We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Also the fact that the predicate method is named "is_admin?". This should obviously just be called "admin?" as we already have the "?" asking the question of "is_".
Ruby Control Structures - Unless
You are viewing a single comment's thread. Return to all comments →
Also the fact that the predicate method is named "is_admin?". This should obviously just be called "admin?" as we already have the "?" asking the question of "is_".