[eluser]sophistry[/eluser]
ok, did that (just added TRUE OR to the line 204 to always execute the non subquery code)
Code:
if(TRUE OR ! is_a($query, 'IgnitedQuery'))
and now i have some kind of string cat issue:
Code:
A Database Error Occurred
Error Number: 1054
Unknown column 'group_id' in 'field list'
SELECT `group_id` FROM `beings` `_groups` WHERE `being_id` = '1'
there is a column group_id in the beings_groups table so that is not the problem... the problem seems to be where the name of the join table is constructed.
where is the concatenation on beings and _groups taking place? why is it creating a string with a space in it?
my beings table yaml model factory code is simple:
Code:
table: beings # necessary
habtm:
name: groups
thanks!
EDIT: I can make the error go away and come back by adding a tab and/or space in the yaml file. But, then the related->get() method returns nothing. i tested the sql directly and it finds the record ok. so something is wrong in the parsing of the yaml, i *think*.