On Sep 16, 2009, at 1:53 PM, Dot Baiki wrote:

> This is what I have now:
>
> csv_data = FCSV.table(input_file)
> employees_id = csv_data[:id].uniq
>
> employees_id.each do |id|
>  puts "ID: #{id}"
>  employees_records = csv_data.select { |row| row["id"] == id }
>  puts employees_records
>  break # just for now
> end
>
> The thing is, no output. Empty.

Sorry, I messed up.  My fault.

Try replacing:

   row["id"]

with:

   row[:id]

I bet that fixes you up.

James Edward Gray II