Eager loading a named_scope

Hi,

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

Any ideas?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs