debugging activerecord relationship between maps and liens