Just discovered the in? method in Rails.