This is my active record query for loading accounts with respect to branch,area and mandal.Could anyone help me for optimizing it?
HpEntry.includes(:area, :mandal, :branch)
.where(:BranchId => 58, :AreaId => 117, :MandalId => 741)
.last
Aucun commentaire:
Enregistrer un commentaire