# Problem after changing to Rails 2.2.2

**URL:** <https://www.ruby-forum.com/t/problem-after-changing-to-rails-2-2-2/156426>\
**Category:** Rails\
**Created:** [December 27, 2008, 11:23am UTC](https://www.ruby-forum.com/t/problem-after-changing-to-rails-2-2-2/156426 "2008-12-27T11:23:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naga\_harish\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/90ced4/32.png) [@Naga\_harish\_K](https://www.ruby-forum.com/u/Naga_harish_K)\
**Post date:** [December 27, 2008, 11:23am UTC](https://www.ruby-forum.com/t/problem-after-changing-to-rails-2-2-2/156426/1 "2008-12-27T11:23:15Z")

</div>

Hi,  
Yesterday we started migrating our project to Rails 2.2.2. For one of  
the Ajax Request I faced some problem.  
When I click an AJAX link, then in the UI I can see my rhtml code  
directly like

\<% \_\_in\_erb\_template=true %\>  
\<%= render :partial =\> “manage\_availability”%\>

And in the console I got this.

Host: [harish.example.com:3009](http://harish.example.com:3009)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.3)  
Gecko/20070309 Firefox/2.0.0.3

Accept: text/javascript, text/html, application/xml, text/xml, _/_

Accept-Language: en-gb,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,\*;q=0.7

Keep-Alive: 300

Connection: keep-alive

X-Requested-With: XMLHttpRequest

X-Prototype-Version: 1.6.0.3

Content-Type: application/x-www-form-urlencoded; charset=UTF-8

Referer: [http://harish.example.com:3009/properties/new\_property/2](http://harish.example.com:3009/properties/new_property/2)

Content-Length: 0

Cookie: \_\_utma=28395323.210196984.1226473975.1226473975.1226473975.1;  
\_\_utmz=28395323.1226473975.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);  
\_vakobi\_session\_id=0739e0f2aaf155d9a1dd1351ac62f23c

Pragma: no-cache

Cache-Control: no-cache

After this my total server is gone.  
That time I am getting “500 Internal Server Error”.

/!\ FAILSAFE /!\ Sat Dec 27 15:49:47 +0530 2008  
Status: 500 Internal Server Error  
Invalid new\_session option:

Did any one faced this problem? What kind of issue is this? Why the  
server is going?

---

<div class="post-metadata">

**Author:** ![Naga\_harish\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/90ced4/32.png) [@Naga\_harish\_K](https://www.ruby-forum.com/u/Naga_harish_K)\
**Post date:** [December 27, 2008, 1:13pm UTC](https://www.ruby-forum.com/t/problem-after-changing-to-rails-2-2-2/156426/2 "2008-12-27T13:13:41Z")

</div>

On 27 Dec 2008, at 10:23, Naga harish Kanegolla wrote:

> After this my total server is gone.  
> That time I am getting “500 Internal Server Error”.
> 
> /!\ FAILSAFE /!\ Sat Dec 27 15:49:47 +0530 2008  
> Status: 500 Internal Server Error  
> Invalid new\_session option:

The interesting bit are the lines following this. Follow the  
stacktrace until it meets your own code and you might be able to  
workout what’s happening.

Fred
