Easily retrieving all instance of a double nested model in rails
<p>I have <code>Account has_many Hotels</code> and <code>Hotel has_many Rooms</code></p>

<p>Thus I can writte <code>account.hotels</code> to get all hotels of a specific account and <code>hotel.rooms</code> to get all rooms of a specific hotel.</p>

<p>What if I want to get all rooms of a specific account ? Is there an elegant way to do that with rails without having to loop through every hotel of the account and storing in an array for exemple ?
Something like <code>account.hotels.rooms</code> ?</p>