[Rails-core] Re: Generator for root action

2015-12-23 Thread DHH
Hi Rodrigo, I don't think this is a common enough case that we need to have it in the generator. You're mostly only going to set the root once. Editing this by hand is imo just fine. On Monday, December 21, 2015 at 5:02:22 PM UTC+1, Rodrigo Rosenfeld Rosas wrote: > > I was watching DHH's demo

Re: [Rails-core] Re: Generator for root action

2015-12-23 Thread Rodrigo Rosenfeld Rosas
Hi DHH, okay, thanks for considering. I understand, the common use case I can see is for demonstration purposes mostly, when you are building a Rails application from scratch and using some demonstration time to edit the root route seems a bit distracting, but I agree, this isn't a very compell

[Rails-core] Any reason #in_batches is not backported to Rails 4.x?

2015-12-23 Thread Kashyap Kondamudi
Hello The `ActiveRecord::Relation#in_batches`, similar to `ActiveRecord::Relation#find_in_batches`, but which yields a collection ofActiveRecord::Relation objects has been merged into master via https://github.com/rails/rails/pull/20933. If I'm not mistaken, this is not backported to older Rails v

Re: [Rails-core] Any reason #in_batches is not backported to Rails 4.x?

2015-12-23 Thread Rafael Mendonça França
New features are not backported to stable branches. See our maintenance policy http://guides.rubyonrails.org/maintenance_policy.html#new-features On Wed, Dec 23, 2015 at 3:32 PM Kashyap Kondamudi wrote: > Hello > > The `ActiveRecord::Relation#in_batches`, similar to > `ActiveRecord::Relation#fin