Files
rails/activerecord/test/models/comment.rb
Andrew White 7056079761 Restore behavior of Active Record 3.2.3 scopes
A series of commits relating to preloading and scopes caused a regression.
Cloning the relation calls initialize_copy which resets a number of instance
variables to nil. Without this the scope thinks that it is already loaded
when it is called again.

Reverts the following commits:
13f1401a6c
8491740ca5
dffbb521a0

Fixes #6575, #6576 & #6577
2012-06-01 03:03:50 +01:00

1.1 KiB