AxelDerks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2011-Apr-09 07:29 UTC
API documentation for find_in_batches
Hello, At guides.rubyonrails.org I read about the possibilities of find_in_batches. However I cannot find this option anywhere in the API documentation (api.rubyonrails.org). My question: where should I look for the documentation of this command? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
http://ryandaigle.com/articles/2009/2/23/what-s-new-in-edge-rails-batched-find http://apidock.com/rails/ActiveRecord/Batches/ClassMethods/find_in_batches Note that this API is deprecated in Rails 3. On Apr 9, 3:29 am, "AxelDe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <axelde...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, > > At guides.rubyonrails.org I read about the possibilities of > find_in_batches. However I cannot find this option anywhere in the API > documentation (api.rubyonrails.org). > > My question: where should I look for the documentation of this > command?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
AxelDerks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2011-Apr-09 14:59 UTC
Re: API documentation for find_in_batches
If this function (find_in_batches) is depreciated, what alternative is there? Same goes for the function find_each... in the current version of Rails they are still working, but for how long? On Apr 9, 11:16 am, Martin Streicher <martin.streic...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> http://ryandaigle.com/articles/2009/2/23/what-s-new-in-edge-rails-bat... > > http://apidock.com/rails/ActiveRecord/Batches/ClassMethods/find_in_ba... > > Note that this API is deprecated in Rails 3. > > On Apr 9, 3:29 am, "AxelDe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <axelde...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hello, > > > At guides.rubyonrails.org I read about the possibilities of > > find_in_batches. However I cannot find this option anywhere in the API > > documentation (api.rubyonrails.org). > > > My question: where should I look for the documentation of this > > command?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
*bump* WTF are we supposed to use in place of these methods? On Apr 9, 7:59 am, "AxelDe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <axelde...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If this function (find_in_batches) is depreciated, what alternative is > there? Same goes for the function find_each... in the current version > of Rails they are still working, but for how long? > > On Apr 9, 11:16 am, Martin Streicher <martin.streic...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > >http://ryandaigle.com/articles/2009/2/23/what-s-new-in-edge-rails-bat... > > >http://apidock.com/rails/ActiveRecord/Batches/ClassMethods/find_in_ba... > > > Note that this API is deprecated in Rails 3. > > > On Apr 9, 3:29 am, "AxelDe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <axelde...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hello, > > > > At guides.rubyonrails.org I read about the possibilities of > > > find_in_batches. However I cannot find this option anywhere in the API > > > documentation (api.rubyonrails.org). > > > > My question: where should I look for the documentation of this > > > command?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Apr 28, 10:48 am, subimage <subim...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> *bump* > > WTF are we supposed to use in place of these methods? >I don''t think it is deprecated. However, it moved (it''s now at http://apidock.com/rails/ActiveRecord/Batches/find_in_batches) and it looks like apidock couldn''t work out that it moved rather than vanish. Fred> On Apr 9, 7:59 am, "AxelDe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <axelde...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > If this function (find_in_batches) is depreciated, what alternative is > > there? Same goes for the function find_each... in the current version > > of Rails they are still working, but for how long? > > > On Apr 9, 11:16 am, Martin Streicher <martin.streic...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > > > >http://ryandaigle.com/articles/2009/2/23/what-s-new-in-edge-rails-bat... > > > >http://apidock.com/rails/ActiveRecord/Batches/ClassMethods/find_in_ba... > > > > Note that this API is deprecated in Rails 3. > > > > On Apr 9, 3:29 am, "AxelDe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <axelde...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hello, > > > > > At guides.rubyonrails.org I read about the possibilities of > > > > find_in_batches. However I cannot find this option anywhere in the API > > > > documentation (api.rubyonrails.org). > > > > > My question: where should I look for the documentation of this > > > > command?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.