search for: ordername

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

2006 Feb 15
3
accepting and passing args to find
...r => "name") # start of the model method: def self.find_allowed(owner, *args) projects = self.find_all(args) ... No matter how I try to pass those args along I get something like the following error: ActiveRecord::StatementInvalid: Mysql::Error: #42S22Unknown column ''ordername'' i n ''where clause'': SELECT * FROM projects WHERE (ordername) I''ve tried self.find_all(*args), I''ve tried doing various conversions and nothing seems to work. I''m sure I''m missing something simple, I just can''t find what it...