On Dec 31, 2007, at 3:28 AM, murphy wrote:

> James Gray wrote:
>> I just checked, by way of example, and Rails does use csv.rb.  On  
>> quick
>> examination, I only found one line of their source that would be
>> affected and it's trivial to fix.  I would be happy to supply them  
>> with
>> a patch if we make this change.
> I think I found the trivial fix, working with Ruby 1.8 and 1.9:
>
>  def read_csv_fixture_files
>    reader = CSV.parse(erb_render(IO.read(csv_file_path)))
>    header = reader.shift
>    i = 0
>    reader.each do |row|
>      ...
>    end
>  end
>
> is this correct?

That should do it, yes.  Do you want to submit the patch to their  
tracker or should I?

James Edward Gray II