Skip to content

Instantly share code, notes, and snippets.

@spacecowb0y
Created January 11, 2013 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spacecowb0y/4508585 to your computer and use it in GitHub Desktop.
Save spacecowb0y/4508585 to your computer and use it in GitHub Desktop.
Mysql2::Error: Unknown column 'orders.projects' in 'where clause': SELECT COUNT(*) FROM `invoices` INNER JOIN `orders` ON `orders`.`id` = `invoices`.`order_id` INNER JOIN `projects` ON `projects`.`id` = `orders`.`project_id` WHERE `orders`.`projects` = '---\n:user_id: 283\n' AND `invoices`.`status` = 1
@spacecowb0y
Copy link
Author

Es muy extraño esto '---\n:user_id: 283\n'

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