- 08 2月, 2011 9 次提交
-
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Refactor the implementations of AssociatioCollection#delete and #destroy to be more consistent with each other, and to stop passing blocks around, thus making the execution easier to follow.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Correctly update counter caches on deletion for has_many :through [#2824 state:resolved]. Also fixed a bunch of other counter cache bugs in the process, as once I fixed this one others started appearing like nobody's business.
-
由 Jon Leighton 提交于
Support the :dependent option on has_many :through associations. For historical and practical reasons, :delete_all is the default deletion strategy employed by association.delete(*records), despite the fact that the default strategy is :nullify for regular has_many. Also, this only works at all if the source reflection is a belongs_to. For other situations, you should directly modify the through association.
-
由 Jon Leighton 提交于
Make record.association.destroy(*records) on habtm and hm:t only delete records in the join table. This is to make the destroy method more consistent across the different types of associations. For more details see the CHANGELOG entry.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 07 2月, 2011 2 次提交
-
-
由 Akira Matsuda 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 John Hawthorn 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 06 2月, 2011 1 次提交
-
-
由 Brian Morearty 提交于
Change ActiveRecord::Base.xyz to config.active_record.xyz in docs. Remove <tt> from code samples. Update skip_time_zone_conversion_for_attributes code sample: put the call in the model class. Clarify that skip_time_zone_conversion_for_attributes skips converion when reading.
-
- 05 2月, 2011 6 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Edward Faulkner 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 04 2月, 2011 12 次提交
-
-
由 Kevin Skoglund 提交于
[#5940 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Gabriel Horner 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
Revert "ARel only requires the connection from the AR class. Simply return the AR class rather than jump through hoops and store ivars" This reverts commit d65e3b48.
-
由 Ken Collins 提交于
[#6365 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Aaron Patterson 提交于
ARel only requires the connection from the AR class. Simply return the AR class rather than jump through hoops and store ivars
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Guillermo Álvarez 提交于
Make serialized columns with explicit object_type return a new instance of the object instead of nil
-
- 03 2月, 2011 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 02 2月, 2011 7 次提交
-
-
由 Franck Verrot 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Franck Verrot 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Franck Verrot 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-