docbrown/lib/generators/data_update/templates/data_update.rb.tt

11 lines
262 B
Text

<% module_namespacing do -%>
module DataUpdateScripts
class <%= class_name %>
def run
# Place your data update logic here
# Make sure your code is idempotent and can be run safely
# multiple times at any time
end
end
end
<% end -%>