Make possible get neighbors for ActiveRecord object