From: Alex Young Date: 2007-06-26T04:18:45+09:00 Subject: Re: addslashes() Fred Phillips wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Is there a built-in function in Ruby similar to PHP's addslashes() > function? > MySQL keeps breaking... There should be a #escape_str or #quote method on the connection object that will do what you're after. -- Alex