# Restful\_authentication doesn't work in Rails 2.3.2

**URL:** <https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905>\
**Category:** Rails\
**Created:** [April 30, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905 "2009-04-30T20:11:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [April 30, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905/1 "2009-04-30T20:11:08Z")

</div>

Hi,

I’m using restful\_authentication on rails 2.3.2.  
It works find on my local machine which has passenger 2.1.2.  
But it doesn’t work on the web hosting server (DreamHost) which may have  
lower version of passenger.  
The problem is session[:user\_id] is not reserved while redirecting.

Is this an incompatibility issue between rails 2.3.2 and passenger?  
If so, is there a workaround other than upgrading passenger?  
(I’ve already asked DreamHost to upgrade passenger but it will take  
time.)

Thanks.

Sam

---

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [May 2, 2009, 12:43am UTC](https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905/2 "2009-05-02T00:43:35Z")

</div>

Yep, you’re seeing an incompatibility - I think 2.1.2 was the first  
version of Passenger that worked with Rails 2.3.2.

–Matt J.

---

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [May 2, 2009, 12:53am UTC](https://www.ruby-forum.com/t/restful-authentication-doesnt-work-in-rails-2-3-2/166905/3 "2009-05-02T00:53:30Z")

</div>

Matt J. wrote:

> Yep, you’re seeing an incompatibility - I think 2.1.2 was the first  
> version of Passenger that worked with Rails 2.3.2.
> 
> –Matt J.

Yes, you’re right.  
I complained to DreamHost and surprisingly they moved my account to a  
newer server which has Passenger 2.2.1.

Thanks.

Sam
