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

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -