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
- Published:
- November 21, 2009 – 10:04 pm
- Author:
- By Keith Norman
I’ve been developing websites for about 2 years, which makes me a relative newcomer to this scene. I currently work for Firebelly Design in Chicago as the lead developer. You can check us out here: http://www.firebellydesign.com.
Categories: web development
Tagged: firebelly, introduction, projects, rails, reason to give
- Published:
- December 9, 2008 – 10:01 pm
- Author:
- By admin