It seems that it’s possible to create a rake task to populate db tables,
this is what I want to accomplish and rake seems like the best tool.
However, the only examples I found are rather complex.
How can I get started on this, please?
Mephisto’s bootstrap task is what I looked at initially and based my
app’s bootstrap task on:
That simply uses fixtures. If you want to get a little more hands on
not delete existing data in the table), you can deal with your Rails
directly from rake. Examples can be found in here: