Named scopes and associations using finder_sql don’t mix. And there really is no solution to that problem. Rails has no way to inject conditions into raw SQL that may or may not follow Active Record conventions. But, the need may come up that you want to return a set of records from an association driven [...]
Categories: ruby on rails,Uncategorized,web development
Tagged: finder_sql, named_scope, rails
