# Login generator errors

**URL:** <https://www.ruby-forum.com/t/login-generator-errors/60511>\
**Category:** Rails\
**Created:** [May 15, 2006, 4:20am UTC](https://www.ruby-forum.com/t/login-generator-errors/60511 "2006-05-15T04:20:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [May 15, 2006, 4:20am UTC](https://www.ruby-forum.com/t/login-generator-errors/60511/1 "2006-05-15T04:20:55Z")

</div>

Okay, I download login generator and I used it on my new app but, it’s  
not working correctly. If the user logins on the same session as he  
created he will login if it isn’t the same session it fails. What’s  
going on?

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [May 15, 2006, 1:26pm UTC](https://www.ruby-forum.com/t/login-generator-errors/60511/2 "2006-05-15T13:26:23Z")

</div>

Mohammad [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

> Okay, I download login generator and I used it on my new app but, it’s  
> not working correctly. If the user logins on the same session as he  
> created he will login if it isn’t the same session it fails. What’s  
> going on?

Maybe this can be of help:

[http://www.slash7.com/pages/vampires](http://www.slash7.com/pages/vampires)

or this one

> **[Error](https://cdybedahl.livejournal.com/377764.html)**
>
> Your life is the best story! Just start your blog today!

–  
Surendra S.  
[http://ssinghi.kreeti.com](http://ssinghi.kreeti.com), [http://www.kreeti.com](http://www.kreeti.com)  
Read my blog at: [http://cuttingtheredtape.blogspot.com/](http://cuttingtheredtape.blogspot.com/)  
,----  
| “All animals are equal, but some animals are more equal than others.”  
| – Orwell, Animal Farm, 1945  
`----

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [May 15, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/login-generator-errors/60511/3 "2006-05-15T16:15:06Z")

</div>

Google must be broken or something…

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [May 15, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/login-generator-errors/60511/4 "2006-05-15T20:42:27Z")

</div>

Nicolai Reuschling wrote:

> Google must be broken or something…

?

> Maybe this can be of help:

> [slash7 with Amy Hoy » Blog Archive » Help Vampires: A Spotter’s Guide](http://www.slash7.com/pages/vampires)

> or this one

> [Error](http://cdybedahl.livejournal.com/377764.html)

What am I supposed to do with these?

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [May 15, 2006, 11:17pm UTC](https://www.ruby-forum.com/t/login-generator-errors/60511/5 "2006-05-15T23:17:40Z")

</div>

Hey Clay,

Think you might’ve sent that as a reply rather than a new post.  
Anyway, please do feel free to sign up to the engine-users list, and a  
postgres tester for the login engine would be a grand thing indeed.

Thanks for your offer of help!

- James

---

<div class="post-metadata">

**Author:** ![mohammad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Post date:** [May 15, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/login-generator-errors/60511/6 "2006-05-15T21:43:26Z")

</div>

I struggled with this all weekend

Here is what I had to changed init\_engine.rb to have

require ‘login\_engine/authenticated\_user’  
require ‘login\_engine/authenticated\_system’

INSTEAD OF

require ‘authenticated\_user’  
require ‘authenticated\_system’

there was rake migrate issues with postgres

as well the schema in the README is missing a comma after the primary  
key {  
second line of create table}

BASICALLY I had to make these by hand

{ also issues with the wiki\_enigne with postgres tooo too many to  
mention…}

Does anyone check the engines against a postgres database?

Some of the columns are missing as well as some defaults etc aren’t set  
correctly

Too mysql-centric …for instance in postgres a timestamp cant have false  
as  
a default it breaks things

IF you want someone to test engines against postgres please contact me  
directly

Thanks
