Rename is_active to is_deleted. This is for better consistency with other models, and to reduce confusion over what "active" means for artists. Sometimes users think active is for whether the artist is actively producing work.
7 lines
377 B
Plaintext
7 lines
377 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<artists type="array">
|
|
<% @artists.each do |artist| %>
|
|
<artist group_name="<%= artist.group_name %>" other_names="<%= artist.other_names %>" urls="<%= artist.urls.map {|x| x.url}.join(" ") %>" is_active="<%= !artist.is_deleted? %>" name="<%= artist.name %>" updater_id="0" id="<%= artist.id %>" version="0"/>
|
|
<% end %>
|
|
</artists>
|