Skip to content

Commit

Permalink
[CI SKIP] Doc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxworld committed Jul 15, 2014
1 parent 85343d9 commit 390a45e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/associations.rb
Expand Up @@ -717,9 +717,9 @@ def association_instance_set(name, association)
# == Eager loading of associations
#
# Eager loading is a way to find objects of a certain class and a number of named associations.
# This is one of the easiest ways of to prevent the dreaded 1+N problem in which fetching 100
# This is one of the easiest ways of to prevent the dreaded N+1 problem in which fetching 100
# posts that each need to display their author triggers 101 database queries. Through the
# use of eager loading, the 101 queries can be reduced to 2.
# use of eager loading, the number of queries will be reduced from 101 to 2.
#
# class Post < ActiveRecord::Base
# belongs_to :author
Expand Down

0 comments on commit 390a45e

Please sign in to comment.