CSV::Writer with Rails 1.2.1

Is anyone else having problems generating CSV files after upgrading to
1.2.1?

The error looks like this:

uninitialized constant MyController::CSV
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
dependencies.rb:478:in `const_missing’

It worked fine until the 1.2.1 upgrade!

Thanks!
Tom

On 1/30/07, Tom [email protected] wrote:

It worked fine until the 1.2.1 upgrade!

Thanks!
Tom

Are you explicitly requiring csv?

require ‘csv’
class MyController < ApplicationController

end


Zack C.
http://depixelate.com

Thanks Zack! I didn’t think about explicitly requiring it, but that
did the trick!

–Tom