Closed rsutphin closed 8 years ago
+1
+1
+1
Does anyone still need this? Ruby 1.8 (and 1.9 for that matter) are unsupported any longer. I'm not sure we have the people to maintain support for these versions. If you are still using 1.8 please leave a comment and I'll reopen.
dm-serializer/to_csv.rb
redefines the globalCSV
constant to be an alias toFasterCSV
when running under Ruby 1.8. While I understand the desire to keep the remainder of the code the same under 1.8 and 1.9, this causes two problems:superclass mismatch for class Row
error.An alternative: define a method on
DataMapper::Serializer
that returns the appropriate module to use (CSV or FasterCSV) depending on the ruby version.