question @ ransack

hi,

switching from metasearch to ransack and not sure how to do this:

@q = Person.ransack(params[:q])
#filter more
@q = @q.id_eq("test") if current_user #<< how do i make this work?

@people = @q.result(distinct: true)