szimek
2009-Feb-10 11:16 UTC
Rails 2.3.0 - ActionController::AbstractRequest not being loaded
Hi, I got a plugin that extends ActionController::AbstractRequest. After updating Rails from 2.2.2 to 2.3.0 I''m getting the following error: ''load_missing_constant'': uninitialized constant ActionController::AbstractRequest (NameError) I''ve already seen people having similar problems with i.e. TMail and Sweeper. I guess that some kind of lazy loading mechanism has been introduced, but how to fix this problem? Cheers, Szymek --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2009-Feb-10 11:30 UTC
Re: Rails 2.3.0 - ActionController::AbstractRequest not being loaded
On 10 Feb 2009, at 11:16, szimek wrote:> > Hi, > > I got a plugin that extends ActionController::AbstractRequest. After > updating Rails from 2.2.2 to 2.3.0 I''m getting the following error: > > ''load_missing_constant'': uninitialized constant > ActionController::AbstractRequest (NameError)There''s also the fact that ActionController::AbstractRequest no longer exists. Fred> > > I''ve already seen people having similar problems with i.e. TMail and > Sweeper. I guess that some kind of lazy loading mechanism has been > introduced, but how to fix this problem? > > Cheers, > Szymek > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Steve Martin
2009-Feb-28 12:38 UTC
Re: Rails 2.3.0 - ActionController::AbstractRequest not being loaded
Frederick Cheung wrote:> On 10 Feb 2009, at 11:16, szimek wrote: > >> >> Hi, >> >> I got a plugin that extends ActionController::AbstractRequest. After >> updating Rails from 2.2.2 to 2.3.0 I''m getting the following error: >> >> ''load_missing_constant'': uninitialized constant >> ActionController::AbstractRequest (NameError) > > There''s also the fact that ActionController::AbstractRequest no > longer exists. >I''m also having the same issue. What are the options for refactoring existing code? What has replaced AbstractRequest? or is it now a Gem? Steve -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2009-Feb-28 12:56 UTC
Re: Rails 2.3.0 - ActionController::AbstractRequest not being loaded
On Feb 28, 12:38 pm, Steve Martin <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Frederick Cheung wrote: > > On 10 Feb 2009, at 11:16, szimek wrote: > > >> Hi, > > >> I got a plugin that extends ActionController::AbstractRequest. After > >> updating Rails from 2.2.2 to 2.3.0 I''m getting the following error: > > >> ''load_missing_constant'': uninitialized constant > >> ActionController::AbstractRequest (NameError) > > > There''s also the fact that ActionController::AbstractRequest no > > longer exists. > > I''m also having the same issue. > > What are the options for refactoring existing code? What has replaced > AbstractRequest? or is it now a Gem? >I seem to recall it''s just ActionController::Request now (which inherits from Rack::Request). Exactly what you need to change probably depends on what you were doing. Fred> Steve > > -- > Posted viahttp://www.ruby-forum.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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
mixandgo
2009-Mar-18 11:22 UTC
Re: Rails 2.3.0 - ActionController::AbstractRequest not being loaded
I am also having issues with this in trying to use webrat, is there a way of aliasing the old name or something like that to have backwards compatibility ? Thanks, Cezar On Feb 28, 2:56 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Feb 28, 12:38 pm, Steve Martin <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > > > > > Frederick Cheung wrote: > > > On 10 Feb 2009, at 11:16, szimek wrote: > > > >> Hi, > > > >> I got a plugin that extends ActionController::AbstractRequest. After > > >> updating Rails from 2.2.2 to 2.3.0 I''m getting the following error: > > > >> ''load_missing_constant'': uninitialized constant > > >> ActionController::AbstractRequest(NameError) > > > > There''s also the fact that ActionController::AbstractRequest no > > > longer exists. > > > I''m also having the same issue. > > > What are the options for refactoring existing code? What has replaced > >AbstractRequest? or is it now a Gem? > > I seem to recall it''s just ActionController::Request now (which > inherits from Rack::Request). Exactly what you need to change probably > depends on what you were doing. > > Fred > > > > > Steve > > > -- > > Posted viahttp://www.ruby-forum.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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---