MySQL server is down for me On Thu, Apr 22, 2010 at 1:23 PM, James Healy <ji...@deefa.com> wrote:
> Joshua Partogi wrote: > > Thanks for the pointers. I think I use alot of find(:all) in the code. > > I am going to revise the code again. =) > > find(:all) / all() is ok on models that will only ever have a few > records (CustomerType, ProductFormat, etc). You just need to be careful > when using it on models that might return lots of results. > > -- James Healy <ji...@deefa.com> Thu, 22 Apr 2010 13:23:34 +1000 > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to rails-ocea...@googlegroups.com. > To unsubscribe from this group, send email to > rails-oceania+unsubscr...@googlegroups.com<rails-oceania%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-ocea...@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.