That's what I usually do. I took that out to make the example shorter and simpler. A shorter table name makes no difference.
On Sep 4, 4:15 pm, "Alex Marandon" <[EMAIL PROTECTED]> wrote: > 2008/9/4 Jim Slack <[EMAIL PROTECTED]>: > > > OperationalError: (OperationalError) no such table: > > __main___department u'SELECT __main___department.id AS > > __main___department_id, __main___department.name AS > > __main___department_name \nFROM __main___department' [] > > > What am I doing wrong? > > No idea what's going on here, but what if you specify your table name > explicitly with using_options(tablename='department') ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
