Two Rails Applications with one Login page


i try to get a shared login for my two Rails applications. I read much about this topic, but dont know how to do this. I need a tutorial or a good understandable which explain this.

At the time i have two Rails applications on one Server and they use the same DB (this means also the same user table). Both uses the restful_authentification plugin.

Can anybody tell me how i can solve this problem? (CAS dosent work, it wouldn't start)

I'am thankful for any tipps.

regards neo1989