search for: jobs_sectors

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

2005 Dec 12
2
count sql failing with unknown table....
Hey Rails People, I''m doing my first Rails app and I''m having a newbie problem with the count method.... Mysql::Error: #42S02Unknown table ''jobs_sectors'' in where clause: SELECT COUNT(*) FROM jobs WHERE (jobs_sectors.sector_id = 1 ) Extracted source (around line #4): 1: <div class="sectors"> 2: <ul> 3: <% for sector in @sectors -%> 4: <li><%= sector.name %> ( <%= sector.jobs.count %> )&...