# File lib/tapkit/access/adapters/csv.rb, line 503 def max_id( entity, column ) max = 1 select(entity).each do |row| if id = row[column] then id = id.to_i if id > max then max = id end end end max end