how to search for exact string in Ruby -


what ruby code equivalent following mysql query? i'm trying search exact match of string eg.'main' , 'main' should treat different.

select userid sys_users binary userid='main' 

it's like:

sysuser.select('userid').where('binary userid=?', 'main') 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -