search for: desc_short

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

2006 May 20
3
In a find, can''t you use both :include and :limit ?
...t that the right way to do that *may* be: employees = Employee.find( :all, :include => :skills, :conditions => ["skill_id = ?",3] ) -- and it works. The SQL in development.log looks correct (if verbose): SELECT employees.`id` AS t0_r0, employees.`title` AS t0_r1, employees.`desc_short` AS t0_r2, employees.`picture_url` AS t0_r3, employees.`contract` AS t0_r4, employees.`available` AS t0_r5, employees.`address` AS t0_r6, employees.`comments` AS t0_r7, employees.`creation_date` AS t0_r9, employees.`last_update` AS t0_r10, employees.`is_featured` AS t0_r11, employees.`is_delete...