# Eager loading a named\_scope

**URL:** <https://www.ruby-forum.com/t/eager-loading-a-named-scope/143548>\
**Category:** Rails\
**Created:** [July 20, 2008, 10:48am UTC](https://www.ruby-forum.com/t/eager-loading-a-named-scope/143548 "2008-07-20T10:48:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsterndale](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4bbf92/32.png) [@gsterndale](https://www.ruby-forum.com/u/gsterndale)\
**Post date:** [July 20, 2008, 10:48am UTC](https://www.ruby-forum.com/t/eager-loading-a-named-scope/143548/1 "2008-07-20T10:48:33Z")

</div>

Hi,

I’d like to eager load a named\_scope like this:  
User.find(params[:id], :include =\> [:friends.married])

Any ideas?
