[n00b] wildcard :select in find(:all) -> malformed string

Who is throwing the error: the database or ruby? What is the actualy
query that the database handles ? Also do you realise that you could do

@pa_bugs = Bug.find(:all,   :conditions => [ @cond + " AND priority = ? AND assigned_to = ?",       @pri["priority"], @asn["assigned_to"]],   :selec => 'bug_id'

Which is both more readable and not vulnerable to sql injection type
errors.

Fred