login_field :login in Authlogic::Session::Base stops migration

7 views
Skip to first unread message

Pierre Valade

unread,
Jun 2, 2009, 10:00:58 AM6/2/09
to Authlogic
Hello,

When I have the following configuration:

--------------
class UserSession < Authlogic::Session::Base

login_field :login

end
--------------


And I try to run
"rake db:migrate"

I've got the following error:

Mysql::Error: Table 'tiiptop_staging.users' doesn't exist: SHOW FIELDS
FROM `users`

Of course, this only happens when the database is empty (or using rake
db:reset). Commenting login_field :login resolves the issue.

Pierre

Pierre

unread,
Jun 3, 2009, 5:48:27 PM6/3/09
to Authlogic
No hint ?
Thanks,
Pierre

Ben Johnson

unread,
Jun 3, 2009, 6:18:54 PM6/3/09
to auth...@googlegroups.com
Update from the repository, this should be fixed now.

Thanks.



Ben Johnson
Binary Logic

W: www.binarylogic.com
E: bjoh...@binarylogic.com

1430 Broadway
7th Floor - NECO
New York, NY 10018

Pierre

unread,
Jun 4, 2009, 11:56:17 AM6/4/09
to Authlogic
Thanks, it's great!

On Jun 4, 12:18 am, Ben Johnson <bjohn...@binarylogic.com> wrote:
> Update from the repository, this should be fixed now.
>
> Thanks.
>
> Ben Johnson
> Binary Logic
>
> W:www.binarylogic.com
> E: bjohn...@binarylogic.com
Reply all
Reply to author
Forward
0 new messages