calling same modelling will fire multiple queries to db in rails 2.3.5?

Hi,
I have a user and address model.

In one of my view I am using "@user.address" 5 times.

My question is weather will it fire 5 different queries to the database?

Thanks,
Tushar

nope :slight_smile:

why so? any reason behind it.

Thanks,
Tushar

Hai!

can you try this way:

@user[0].address
@user[1].address
@user[2].address
@user[3].address
@user[4].address

bye :slight_smile: