Improve database queries
yoones opened this issue · comments
Younes Serraj commented
With something like this :
@user =User.where("email like ?","example@foobar.com").includes(:blogs => :comments)
Also by adding indexes for the search part.
RoR RSS reader
yoones opened this issue · comments
With something like this :
@user =User.where("email like ?","example@foobar.com").includes(:blogs => :comments)
Also by adding indexes for the search part.