Bertg
Not a member
Bertg's latest activity
Wednesday, June 16 2010
4873
Fail to force_reload polymorphic associations
was updated
in Ruby on Rails
-
-
Bertg created the ticket at 3:34 PMWhen using the instance.association(true) syntax; where the association is polymorphic, the call will fail with a NameError: uninitialized constant error.
Expec...
Sunday, August 31 2008
906
Better query for ASSOCIATION_ids
was updated
in Ruby on Rails
-
Bertg commented at 12:40 AMThis patch will fail if an other column is defined as the id column.
The 'self.class.primary_key' property should be used...
Tuesday, August 26 2008
906
Better query for ASSOCIATION_ids
was created
in Ruby on Rails
-
Bertg created the ticket at 10:58 AMFor has_many relations Imagine we have 2 models: Cart and Item. Cart has many Items.
If we execute the following statement
Cart.first.item_idswe get the fo...