Skip to content

Commit

Permalink
Update the documentation to reflect the change handling :group earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
NZKoz committed Sep 16, 2008
1 parent 4dae364 commit 4db7e8d
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -17,7 +17,10 @@ def owner_quoted_id
# Returns the number of records in this collection. # Returns the number of records in this collection.
# #
# If the association has a counter cache it gets that value. Otherwise # If the association has a counter cache it gets that value. Otherwise
# a count via SQL is performed, bounded to <tt>:limit</tt> if there's one. # it will attempt to do a count via SQL, bounded to <tt>:limit</tt> if
# there's one. Some configuration options like :group make it impossible
# to do a SQL count, in those cases the array count will be used.
#
# That does not depend on whether the collection has already been loaded # That does not depend on whether the collection has already been loaded
# or not. The +size+ method is the one that takes the loaded flag into # or not. The +size+ method is the one that takes the loaded flag into
# account and delegates to +count_records+ if needed. # account and delegates to +count_records+ if needed.
Expand Down

0 comments on commit 4db7e8d

Please sign in to comment.