Skip to content

Commit

Permalink
Remove extra whitespace from generated update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnin authored and derekprior committed Sep 29, 2023
1 parent bb62815 commit bb053d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class <%= migration_class_name %> < <%= activerecord_migration_class %>
def change
<% method_name = replace_view? ? 'replace_view' : 'update_view' %>
<%- method_name = replace_view? ? 'replace_view' : 'update_view' -%>
<%- if materialized? -%>
<%= method_name %> <%= formatted_plural_name %>,
version: <%= version %>,
Expand Down

0 comments on commit bb053d4

Please sign in to comment.