Forum: Ruby on Rails Restful_authentication doesn't work in Rails 2.3.2

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.
Ca0b18ec9e11dc777b2b8084fe5d5f90?d=identicon&s=25 Sam Kong (ssk)
on 2009-04-30 20:11
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
6883e5ef03484d4fcef507d7b4f1d243?d=identicon&s=25 Matt Jones (Guest)
on 2009-05-02 00:43
(Received via mailing list)
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 Jones
Ca0b18ec9e11dc777b2b8084fe5d5f90?d=identicon&s=25 Sam Kong (ssk)
on 2009-05-02 00:53
Matt Jones 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 Jones

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
This topic is locked and can not be replied to.