HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
This method explicitly loads the records and then returns `self`. Rather than deciding between "do I want an array or a relation?", most people are actually asking themselves "do I want to eager load or lazy load?" Therefore, this method provides a way to explicitly eager-load without having to switch from a `Relation` to an array. Example: @posts = Post.where(published: true).load
- Loading branch information...
Showing with 35 additions and 2 deletions.