Ernie Miller
Not a member
Ernie Miller's latest activity
Friday, December 18 2009
-
Ernie Miller commented at 6:16 PMThis seems as useful a place to put the following patch as well. Looks like association.rb wassn't accounting for :primary_key option in association_join.
This ...
Thursday, November 06 2008
-
Ernie Miller commented at 8:26 PMTekin,
Thanks for jumping on this so fast! You saved me the pain. :)
Wednesday, September 24 2008
-
Ernie Miller commented at 2:40 PMI checked, and it hasn't been fixed in edge yet. See #1102 for the one-liner patch. We should really get some fixtures that use counter_sql on a HABTM to catch ...
-
Ernie Miller commented at 2:02 PMGood catch. This is a trivial fix -- Jeremy, do you want me to submit another patch, or is this fixed in edge already?
-
Ernie Miller created the ticket at 2:37 PMIn #831, I submitted a patch to refactor AssociationCollection#count and fix problems with HABTM count in Ruby 1.8.7. I forgot to add :counter_sql to the list o...
Thursday, August 28 2008
-
- Tag changed from 2.1, activerecord, bug, edge, patch to 2.1, activerecord, bug, edge, patch, tests
Added a test based on Mike's example above, and merged Tarmo's :offset and :limit constraints from #348 as well.
Friday, August 15 2008
-
Ernie Miller commented at 2:05 PMI'm not sure I agree on this one. When only time, and not date is being persisted in the database, part of the information required to make an intelligent decis...
-
Ernie Miller commented at 3:30 AMUpdated patch to add a bit of documentation.
I'm a little concerned about the handling of a has_many association's :conditions option if passed to count. Befor...
Thursday, August 14 2008
-
Ernie Miller commented at 9:38 PMIf you get the chance, try the patch I attached and let me know how it works for you... and if it breaks anything new and exotic! ;)
-
- Tag changed from 2.1, activerecord, edge to 2.1, activerecord, bug, edge, patch
There's actually no count method defined on the habtm association class, which would help explain the issue. ;)
After a quick look through the association code...