RubyFlow The Ruby and Rails community linklog

Hobofields: Automatic Migration Generator

Hobofields is an automatic migration generator. Annotate your model with the fields required as you go, then Hobofields generates the required migrations.

Comments

This looks really cool. Writing migrations by hand is such a pain.

This is really awesome! I don’t know why I hadn’t heard from it yet. Do you know if it’s gaining any adoption?

This is kinda like a port of how fields and migrations are done in Django, which I find a lot better. In Rails, schema information is hidden away in migration files, which then begs for plugins like annotate_models so you don’t have to refer back to them every time, which makes things ugly and less DRY. This is a refreshing change.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in