rom-rb/rom-rails

View on GitHub
lib/generators/rom/commands/templates/delete.rb.erb

Summary

Maintainability
Test Coverage
class Delete<%= model_name %> < ROM::Commands::Delete<%= "[:#{adapter}]" %>
  relation :<%= relation %>
  register_as :delete
  result :one
end