Skip to content
Menu
Justin Ball
  • About
  • Privacy Policy
Justin Ball

Category: bug

Count is broken in Rails 2.3.2

Posted on March 18, 2009November 1, 2021

After upgrading to Rails 2.3.2 I started getting this error: Mysql::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 ‘*) It turns out that the ‘count’ method is broken for ‘has_many through association collection with named scope’. Here’s…

©2025 Justin Ball | Powered by SuperbThemes & WordPress