search for: 21000operand

Displaying 2 results from an estimated 2 matches for "21000operand".

2006 Apr 25
4
belongs_to :through
belongs_to :through Why is that not possible? We should have: Street belongs_to :city belongs_to :country, :through => :city -- Posted via http://www.ruby-forum.com/.
2006 Jul 18
3
Newbie validation question
...gue_no = ?", artist_name, title, catalogue_no]) errors.add(:title, "This title already exists, artist: " + artist_name.to_s + ", title: " + title.to_s + ", catalogue number: " + catalogue_no) end When I use Product.find I receive this error: Mysql::Error: #21000Operand should contain 1 column(s): SELECT * FROM products WHERE (artist_name = ''Jimmie Rodgers'', title = ''Rodgers'', catalogue_no = ''38134'') I have tried self.find & I receive this error: undefined method `find'' for #<Product:0x38137d...