lookup_def locations and event_codes; ransack searches