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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 1/30/07, Tom <tom-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote:> > 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 >Are you explicitly requiring csv? require ''csv'' class MyController < ApplicationController ... end -- Zack Chandler http://depixelate.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Zack! I didn''t think about explicitly requiring it, but that did the trick! --Tom On Jan 30, 7:56 pm, "Zack Chandler" <zackchand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 1/30/07, Tom <t...-5bxIUPmzHicFraO2wh7vUA@public.gmane.org> wrote: > > > > > 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 > > Are you explicitly requiring csv? > > require ''csv'' > class MyController < ApplicationController > ... > end > > -- > Zack Chandlerhttp://depixelate.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---