Created
July 12, 2011 22:08
-
-
Save kineticac/1079103 to your computer and use it in GitHub Desktop.
Connection eager loading Coaches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connections = Connection.find(:all, :conditions => ['athlete_id = ?', @athlete.id], :include => :coach) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment