Displaying 1 result from an estimated 1 matches for "az_title_ver3".
2008 Nov 05
3
Rails 2.1.2, complex find involving complex include, bug?
...e I could be doing to work-around it?
My find statement involves:
* Models in a module for namespace purposes
* a join clause with raw SQL
* an includes clause with multiple levels (the hash syntax)
This worked in 1.2.6:
***************
joins = " inner join AZ_LETTER_GROUP_VER3 as lg on
AZ_TITLE_VER3.AZ_TITLE_VER3_ID = lg.AZ_TITLE_VER3_ID"
conditions = [''lg.AZ_LETTER_GROUP_VER3_NAME = ?'', ''A'']
batch_size = 10
page = 1
az_titles = SfxDb::AzTitle.find(:all,
:joins => joins,
:conditions => conditions,
:limit...