How many users do you have? >From what I see here => https://github.com/sdstoic/vits/blob/master/app/views/po_renewals/index.html.erb#L44-L45 you're iterating through all your user records to be used twice in select tags.
On Wed, Mar 13, 2013 at 12:02 PM, KT <[email protected]> wrote: > Hi all - can anyone tell me what I'm doing so wrong that it takes 7-9 > minutes to load this form view? > > > https://github.com/sdstoic/vits/blob/master/app/views/po_renewals/index.html.erb > > The table holds about 2700 records, and has many columns, but still... > should it take that long? > > Ruby 1.9.3 / Rails 3.0.3 > Apache / Passenger / MySQL > > Thanks in advance for any help. > Katie > > -- > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > --- > You received this message because you are subscribed to the Google Groups > "SD Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
