Joseph Palermo
Agile Engineer · Not a member
Joseph Palermo's latest activity
Saturday, May 14 2011
-
Joseph Palermo commented at 11:07 PMPull request with proposed fix is here:
https://github.com/rails/rails/pull/561
Tuesday, March 22 2011
Wednesday, March 16 2011
-
- Tag set to association, default_scope, patch
Here is a patch with tests and the fix. Simply removing "|| table[Arel.star]" broke HABTM. So now it is only applied to HABTM eager loads.
-
Joseph Palermo commented at 5:02 AMI just verified this behavior still exists in Rails 3. I'll create a test case and a fix in the next couple of days.
Friday, March 11 2011
-
Joseph Palermo commented at 4:42 PMLooking closer, I see a lot of calls to "constantize" in the associations, rather than looking up the sti_class_name. Is store_full_sti_class supposed to apply ...
Wednesday, March 02 2011
-
Joseph Palermo created the ticket at 9:41 AMCurrently when doing an association preload, it will respect store_full_sti_class and use sti_name for the class it is loading.
However, all of the association ...
Saturday, February 05 2011
-
Joseph Palermo created the ticket at 4:03 PMIn my mind, the _ids= setter methods are very dangerous. I'd say typically people use update_attributes, and typically people don't make all of their models att...
Tuesday, December 14 2010
-
Joseph Palermo created the ticket at 6:54 PMclass Thing < ActiveRecord::Base
has_many :posts end
class Post < ActiveRecord::Base
default_scope select(column_names - ['body']) endThing.includes(:posts).al...
Monday, June 14 2010
-
Joseph Palermo commented at 8:41 AM+1 Works for me.
This has bitten me several times. Especially the id case where I have to have the same form on the page in two different places (such as the sa...
Tuesday, May 18 2010
-
Joseph Palermo created the ticket at 12:52 AMProbably not a bug, as it does not change the behavior. But I spent the afternoon tracking down why my association conditions were being applied twice in the qu...