Skip to content

Commit

Permalink
Merge pull request #62 from proteusvacuum/master
Browse files Browse the repository at this point in the history
README: Add note about eager loading
  • Loading branch information
ledermann committed Apr 18, 2015
2 parents 9c98259 + 7d4c0d2 commit 6993daf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -123,6 +123,11 @@ User.without_settings_for(:calendar)
# => all users without having settings for 'calendar'
```

### Eager Loading
```ruby
User.includes(:setting_objects)
# => Eager load setting_objects when querying many users
```

## Compatibility

Expand Down

0 comments on commit 6993daf

Please sign in to comment.