Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

2 commits #10

merged 2 commits into from May 2, 2012


None yet
2 participants

halida commented Apr 28, 2012

one to fix bug when use gem 'mysql2':


another is to fix bug when use desc as table column (by quote column name with `):


I did not run any test for the fix, maybe introduce some bugs, so consider create some spec for them?

Nice. Send me a pull request and I'll merge it in.


halida replied Apr 28, 2012

No, I failed at rake site:restore, there is the error:

Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc,user_id,created_at,updated_at,comments_count,serious) VALUES (1,'aa','bb',5' at line 1: INSERT INTO balloons (id,title,desc,user_id,created_at,updated_at,comments_count,serious) VALUES (1,'aa','bb',5140,'2012-04-06 17:55:18','2012-04-28 01:55:18',0,NULL)

looks like mysql2 need a fix too. I'm working on it.

Excellent, thanks.

mattconnolly added a commit that referenced this pull request May 2, 2012

@mattconnolly mattconnolly merged commit 6d5c291 into mattconnolly:master May 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment