Posts [ 3 ]

Topic: Mysql method escape string in rails

Using the Ruby Mysql database connector there is a method called escape_string which, go figure, takes a string and escapes all of the mysql primitive charactors in it. Is there an equivilant in rails, or a way to access the mysql connection variable?

If art interprets our dreams, the computer executes them in the guise of programs.