Displaying 1 result from an estimated 1 matches for "logwhil".
Did you mean:
logwhile
2006 Sep 19
8
Common performance issues
Hi,
When writing a Rails app, what common tasks can likely result in
performance issues?
The one I''m aware of is something like:
Model.find(:all).each do |elem|
# do stuff
end
Especially when there''s lots of elements in the Model. What other
ones are there?
Also, does Rails do caching of queries? If I''m in a view and I do:
<% if user.admin? %> ...
and