ROM, datamapper, and auto migrations

I notice in older articles links to the datamapper gem are now redirected to ROM, so I’m assuming ROM is the continuation of datamapper. One of the interesting features of datamapper was automatic migrations with #auto_migrate! that didn’t require manually defining migrations that seem to just work based on the model class. However I don’t see anything in ROM like that. Am I missing something?

1 Like

rom-sql supports auto-migrations, but we haven’t properly documented it yet. There’s auto_migrate! method but there’s no corresponding rake task built-in, so you’d have to handle it manually at this point.