Hi everybody,
I was just wondering if the migration files name changed with rails
2.1.0. I use to learn rails with the famous book Agile Development
with Rails and for this I had rails 1.2.3. The migration files were
like 001_create_pages.rb. I installed rails 2.1.0 yesterday and now
I’ve got weird filename including the date
20080608231851_create_pages.rb.
Does anyone know what’s happening?
Thanks in advance for your help…
V.
On 9 Jun 2008, at 12:03, vincentr wrote:
Hi everybody,
I was just wondering if the migration files name changed with rails
2.1.0. I use to learn rails with the famous book Agile Development
with Rails and for this I had rails 1.2.3. The migration files were
like 001_create_pages.rb. I installed rails 2.1.0 yesterday and now
I’ve got weird filename including the date
20080608231851_create_pages.rb.
Does anyone know what’s happening?
Thanks in advance for your help…
That’s just how migrations are named in 2.1. see also
http://ryandaigle.com/articles/2008/4/2/what-s-new-in-edge-rails-utc-based-migration-versioning
Fred
The leading numbers are UTC timestamps. See
http://ryandaigle.com/articles/2008/4/2/what-s-new-in-edge-rails-utc-based-migration-versioning
.
Regards,
Craig
Thanks guys!
V.