Hi guys,
I waan sanitize the data coming from my form in my active record .Especially the single inverted comma before its actually jacked into the sql query. I want it to be something raghu'\s if raghu's is been fed.let me know if there is something at activerecord level that can do this job for me !!! ..I have already tried using
sanitize_sql_array
sanitize_sql_for_assignment
sanitize_sql_for_conditions
sanitize_sql_hash_for_assignment
sanitize_sql_hash_for_conditions
But none of these seem to escape the single inverted comma there by failing my sql query !!!