Have you tried dropping into the debugger inside your test and running  
'Account.columns.map { |c| c.name }'? This reminds me of the last time  
my test DB got out of sync with development, causing no end of trouble.

--Matt Jones

On Jul 6, 2009, at 4:15 PM, geoffd123 wrote:

>
> It gets stranger.
>
> The error message says:
>      Mysql::Error: Unknown column 'users.enroller_id' in 'where
> clause': SELECT `users`.id FROM `users` WHERE (`users`.`id` = 13) AND
> (`users`.enroller_id = -616251098)  LIMIT 1
>
>
> But if I cut the sql and paste it into the mysql app:
>
> SELECT `users`.id FROM `users` WHERE (`users`.`id` = 1) AND
> (`users`.enroller_id = -616166838);
>
> I get:
> Empty set (0.00 sec)
>
> Which I expect because I am doing TDD and I have not implemented the
> code to do the link yet.
>
> Not sure where the problem is, but there is definitely something weird
> going on :(
>
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to