switching from metasearch to ransack and not sure how to do this:
@q = Person.ransack(params[:q])
@q = @q.id_eq("test") if current_user #<< how do i make this work?
@people = @q.result(distinct: true)
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks