Displaying 1 result from an estimated 1 matches for "do_stuff_with".
Did you mean:
do_stuff_with_x
2006 May 10
12
What to do with HUGE instance variables in Rails?
I''m learning rails and I can succesfully use the following things in the
controller:
@var1 = Var.find :all
@var2 = Var2.find :all
Problem is that the DB has about 260,000 lines which considerably slows
everything down if I load everything in @var1.
Isn''t there a way to load those items progressively? I treat them
separately (e.g. no interactions between them) in the program so