I have an upload controller which uploads file into a mysql database and
it works fine on my local machine where I am using webrick but when I
use it on a live apache server then it gives me the following error:
ActiveRecord::StatementInvalid in #
Mysql::Error: You have an error in your SQL syntax near ‘‘4749463’ at
line 1: INSERT INTO pictures (
user_id) VALUES(‘image/gif’, ‘arrow.gif’,
I would be really thankful if someone could help me how to resolve this.