Created
October 31, 2012 23:17
-
-
Save shishirmk/3990571 to your computer and use it in GitHub Desktop.
Error message on rails 3.2 for a simple @milestone.destroy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 '?' at line 1: DELETE FROM `milestones` WHERE `milestones`.`id` = ? | |
| These were the params according to the error message | |
| {"_method"=>"delete", | |
| "authenticity_token"=>"something something", | |
| "id"=>"12"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment