rails/rails — pull request #4787 by kennyj (2012-01-31 11:59:11+00:00)
Title: [Backport][3-1-stable] Fix GH #4754. Remove double-quote characters around PK when using sql_mode=ANSI_QUOTES

This PR is GH #4754 fixing for 3-1-stable .

Please see https://github.com/rails/rails/issues/4754 and https://github.com/rails/rails/pull/4763 .

cc/ @jonleighton