Set an if-statement to avoid adding filter of ratings for very first visitor. For better abstraction we should avoid that if and initialize params[:ratings]={G=>1, NC-17=>1, PG=>1, PG-13=>1, R=>1}