Skip to content

Commit

Permalink
add missing information for id field when used with select [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
kuldeepaggarwal committed Jan 21, 2014
1 parent b0a8ef1 commit 7e25da9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -84,7 +84,7 @@ def loaded?
#
# Be careful because this also means you're initializing a model
# object with only the fields that you've selected. If you attempt
# to access a field that is not in the initialized record you'll
# to access a field except +id+ that is not in the initialized record you'll
# receive:
#
# person.pets.select(:name).first.person_id
Expand Down

0 comments on commit 7e25da9

Please sign in to comment.