# Google maps error with Rails 2.3.2

**URL:** <https://www.ruby-forum.com/t/google-maps-error-with-rails-2-3-2/164161>\
**Category:** Rails\
**Created:** [March 28, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/google-maps-error-with-rails-2-3-2/164161 "2009-03-28T23:48:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [March 28, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/google-maps-error-with-rails-2-3-2/164161/1 "2009-03-28T23:48:45Z")

</div>

I have been using Google Maps with Rails 2.0.2 and 2.1.0 which works  
fine. I followed this tutorial:

Now after upgrading to Rails 2.3.2 I’m getting the following error:  
uninitialized constant ActionController::AbstractRequest

on the following line:  
\<%= GMap.header %\>

Has anything changed in Rails 2.3.2 regarding the way Google maps are  
called?

Any ideas?

Thanks,

Tam

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [March 29, 2009, 8:42am UTC](https://www.ruby-forum.com/t/google-maps-error-with-rails-2-3-2/164161/2 "2009-03-29T08:42:30Z")

</div>

Looks like ActionController::AbstractRequest has morphed to  
ActionController::Request, at least most of the methods are there.

---

<div class="post-metadata">

**Author:** ![tkbeili](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7bcc69/32.png) [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Post date:** [May 7, 2009, 6:05pm UTC](https://www.ruby-forum.com/t/google-maps-error-with-rails-2-3-2/164161/3 "2009-05-07T18:05:27Z")

</div>

On Mar 28, 6:48 pm, Tam K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> called?
> 
> Any ideas?
> 
> Thanks,
> 
> ## Tam
> 
> Posted viahttp://www.ruby-forum.com/.

Tam,  
I had the same problem. I used the directions to edit the ym4-gm plug  
in here:  
[http://railsforum.com/viewtopic.php?id=24839](http://railsforum.com/viewtopic.php?id=24839)  
it worked great for me.  
Hope it helps.  
Carl Lafong
