Re: [Rails] Different each iteration

2010-06-16 Thread Michael Pavling
On 16 June 2010 09:19, Greg Ma wrote: > myList.each_with_something or myList.each_something Do you mean the "each_slice" method of enumerable? http://ruby-doc.org/core/classes/Enumerable.html -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr

Re: [Rails] Different each iteration

2010-06-16 Thread Ivan Nastyukhin
does u speak about it ? http://api.rubyonrails.org/classes/ActiveRecord/Batches/ClassMethods.html Ivan Nastyukhin dieinz...@me.com On Jun 16, 2010, at 12:19 PM, Greg Ma wrote: > Hi, > I've read a few days ago that rails has a each method that allows you to > speficy the number of iteration

[Rails] Different each iteration

2010-06-16 Thread Greg Ma
Hi, I've read a few days ago that rails has a each method that allows you to speficy the number of iteration. I think the default number was 1000. What is the name of the method? myList.each_with_something or myList.each_something Greg -- Posted via http://www.ruby-forum.com/. -- You received