Skip to content

Instantly share code, notes, and snippets.

@hosh
Created November 18, 2010 21:42
Show Gist options
  • Save hosh/705702 to your computer and use it in GitHub Desktop.
Save hosh/705702 to your computer and use it in GitHub Desktop.
The worst kludge I've written in years.
# NOOP
#
# Place in RAILS_ROOT/lib/csv.rb
#
# Short Description: I dare you to remove this file.
#
# Long Description:
# This file is needed so that active_record/fixtures.rb (for AR3) can load 'csv' library. Since this file
# comes before the standard library load path, this gets loaded instead. Otherwise, Ruby will
# complain because FasterCSV has changed the class signature of CSV::Row
#
# See: https://github.com/rails/rails/blob/v3.0.3/activerecord/lib/active_record/fixtures.rb Line 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment