search for: n5av2a60

Displaying 1 result from an estimated 1 matches for "n5av2a60".

2005 Dec 30
5
HABTM with finder_sql problem (Rails bug?)
...AS id, value " + "FROM language_strings " + "WHERE for_table = ''properties'' AND " + ''foreign_id = #{id} AND '' + "attr_name = ''name''" end ( With pretty highlighting: http://rafb.net/paste/results/n5aV2A60.html ) Ok, now the problem. The above code does work, however, after fetching the first Property all succesive ones issue the _exact_ same query (the one from finder_sql), meaning it doesn''t change the id (in ''foreign_id = #{id} AND '') and keeps bringing the same values....