replace ugly case on class with if condition
adapter.find_by_id returns ONE hash or raises error

no more returning arrays of 0 or 1 elements back