I have a route get '/catalog/:gender/' => 'catalog#gender'. The :gender param is used in my controller like so @products = Product.where(gender: params[:gender]).all.
So I can use /catalog/male/ to get all male products and /catalog/female/ to get all female products. The question is, is there a way somebody could possibly pass both male and female parameters and get all the products?