tags:

views:

247

answers:

1

I have installed and setup RubyCAS-Server and RubyCAS-Client on my machine. Login works perfectly but when I try to logout I get this error message from the RubyCAS-Server:

Camping Problem!

CASServer::Controllers::Logout.GET

ActiveRecord::StatementInvalid Mysql::Error: Unknown column 'username' in 'where clause': SELECT * FROM `casserver_pgt` WHERE (username = 'lgs') :

I am using version 0.6 of the gem. Looking at the migrations in the RubyCAS-Server it looks like there shouldn't be a username column in that table at all.

Does anyone know why this is happening and what I can do about it?

A: 

Seems there's a bug in the 0.6 version of the gem (possibly coinciding with change made to finders in Rails 2.1) as detailed in this bug ticket. In the meantime, you could try installing from the source tree.

Brian Phillips
Thanks - installing from the source tree (revision 312) works perfectly. Looking forward to 0.7.
larssg