I have tried creating a not equal condition in the find statment but
it just outputs an empty array.
model.find(:first, :conditions => [" id = ? AND market = ? AND
promotion <> ? " , id , name, “y”],:order => ‘id desc’).price
I have tried != instead of <>
I have tried googling for the answer but i can’t seem to find it. What
do i need to put to give a not equal condition?
Database is mysql.