ronin-38963 (at lighthouseapp)
Not a member
ronin-38963 (at lighthouseapp)'s latest activity
Saturday, June 06 2009
2357
Predictable Table Aliases in Joins
was updated
in Ruby on Rails
-
ronin-38963 (at lighthouseapp) commented at 11:01 AMI still support strongly Steffen's original report. It's easy to misuse the nested hash conditions/joins syntax and think you're doing The Right Thing, until yo...
Saturday, April 25 2009
2357
Predictable Table Aliases in Joins
was updated
in Ruby on Rails
-
- Tag changed from activerecord, joins, table_alias to activerecord, joins, named_scope, table_alias
This should definitely be addressed. It's a huge issue for named_scope use, as you stated.
Friday, April 24 2009
-
ronin-38963 (at lighthouseapp) commented at 9:35 PMTurns out I had my :joins statement wrong--sorry.
-
ronin-38963 (at lighthouseapp) commented at 9:24 PMI'm having the same problem when I search Baz for Foos with a certain attr using a named scope defined in Baz in ActiveRecord 2.3.
Baz.with_Foo_attr(attr) yield...
Wednesday, November 26 2008
1479
irregular inflection: drive, drives
was updated
in Ruby on Rails
-
ronin-38963 (at lighthouseapp) commented at 9:24 AMrequire 'ActiveSupport' # version 2.2.2 => true 'drives'.singularize => "drife"
-
ronin-38963 (at lighthouseapp) created the ticket at 9:22 AMI encountered an incorrect inflection while using my :drives table. The problem originates from the dwarf->dwarves loaf->loaves rule.
require 'ActiveSupport' ...