[Rails-core] Re: [Feature Request] Extend Date Object

2016-06-28 Thread Oreoluwa Akinniranye
Hi Xavier, Just thought to follow up on the pending PR: https://github.com/rails/rails/pull/25209 Haven't gotten any updates in a while, but I've updated the PR On Saturday, May 28, 2016 at 6:58:54 PM UTC+1, Oreoluwa Akinniranye wrote: > > date = Date.today > tuesday = date.next_week(:tuesday) >

Re: [Rails-core] [Feature Request] Force test schema to be up to date when running tests

2016-06-28 Thread Rafael Mendonça França
Automatic test schema maintainance is a feature of Rails since 4.1 http://guides.rubyonrails.org/4_1_release_notes.html#railties-notable-changes On Tue, Jun 28, 2016 at 5:32 PM Chad Woolley wrote: > +1, this is one of a few things that doesn't "work out of the box" for

Re: [Rails-core] [Feature Request] Force test schema to be up to date when running tests

2016-06-28 Thread Chad Woolley
+1, this is one of a few things that doesn't "work out of the box" for databases in real-world usage. I always end up having some version of a custom "db:prepare" which does extra necessary things for my apps. FYI, this thread is somewhat related, in that it's also about confusion about the

[Rails-core] [Feature Request] Force test schema to be up to date when running tests

2016-06-28 Thread Ryan Jones
Every so often I'll run a test suite and it will have a large number of failures. After debugging it's normally something as simple as the test schema being out of date. I then run bin/rake db:test:prepare and everything is fine. If I run my development environment and my schema is out of