Read more

Migrations are versioned in Rails 5 | BigBinary Blog

Henning Koch
September 22, 2016Software engineer at makandra GmbH

Rails 5 migration classes look like this now:

class CreateUsers < ActiveRecord::Migration[5.0]
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

Mind the [5.0] at the end.

They do this to evolve the ActiveRecord::Migration API without breaking your historical migrations in db/migrate.

Posted by Henning Koch to makandra dev (2016-09-22 09:33)