Forum: Ruby on Rails Rails 2.3.0 - ActionController::AbstractRequest not being loaded

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2b2b07fe8688479d2559704d4bf8a264?d=identicon&s=25 Szymon Nowak (szimek)
on 2009-02-10 12:16
(Received via mailing list)
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
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-02-10 12:30
(Received via mailing list)
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
B0e62d3ca67c3300e058c869b54950bf?d=identicon&s=25 Steve Martin (burnthand)
on 2009-02-28 13:38
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
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-02-28 13:57
(Received via mailing list)
On Feb 28, 12:38 pm, Steve Martin <rails-mailing-l...@andreas-s.net>
wrote:
>
> > 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
734c1a6ba4b86b87a2b5e52a71717e60?d=identicon&s=25 mixandgo (Guest)
on 2009-03-18 14:49
(Received via mailing list)
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...@gmail.com>
This topic is locked and can not be replied to.