- 14 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 13 5月, 2012 3 次提交
-
-
由 Oscar Del Ben 提交于
-
由 Vasiliy Ermolovich 提交于
-
由 Richard Hulse 提交于
-
- 12 5月, 2012 36 次提交
-
-
由 Vijay Dev 提交于
Conflicts: activesupport/lib/active_support/callbacks.rb
-
由 Vijay Dev 提交于
-
由 José Valim 提交于
Comment for active_support's option in application.rb
-
由 José Valim 提交于
This reverts commit 667d0bdd, reversing changes made to 4ae6bab6.
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Santiago Pastorino 提交于
Closes #6274
-
由 Vijay Dev 提交于
mispelling errors in render_text_test.rb
-
由 Vijay Dev 提交于
Add commas missing in performance tests
-
由 Jon Leighton 提交于
Object#try can't call private methods
-
-
由 Vasiliy Ermolovich 提交于
-
由 José Valim 提交于
refactored extracting :size => 'XxY' into an extract_size! method
-
由 Xavier Noria 提交于
mispelling error in actionpach changelog
-
-
由 Vasiliy Ermolovich 提交于
-
由 Geoffrey Roguelon 提交于
-
由 Egor Homakov 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Erich Menge 提交于
Add #nodoc to initialize_dup and use :method: to document the #dup method. Relates to issue #6235
-
由 Jon Leighton 提交于
Makes it consistent with Relation. Can't see a use for this.
-
由 Francesco Rodriguez 提交于
-
由 Santiago Pastorino 提交于
-
由 Francesco Rodriguez 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
require 'action_view' is now much faster
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
This helps bring the interfaces of CollectionProxy and Relation closer together, and reduces the delegation backflips we need to perform. For example, first_or_create is defined thus: class ActiveRecord::Relation def first_or_create(...) first || create(...) end end If CollectionProxy < Relation, then post.comments.first_or_create will hit the association's #create method which will actually add the new record to the association, just as post.comments.create would. With the previous delegation, post.comments.first_or_create expands to post.comments.scoped.first_or_create, where post.comments.scoped has no knowledge of the association.
-