Skip to content

Commit 754ba9d

Browse files
committed
code cleanup
1 parent 27edbf5 commit 754ba9d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

app/views/content/form/_text_input.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
if f.object.respond_to?(field.name.to_sym)
77
value = f.object.send(field.name.to_sym)
88
else
9-
value = field.attribute_values.find_by(user: f.object.user, entity_type: f.object.class.name, entity_id: f.object.id)
9+
value = field.attribute_values.find_by(
10+
user: f.object.user,
11+
entity_type: f.object.class.name,
12+
entity_id: f.object.id
13+
)
1014
end
1115
%>
1216

lib/tasks/datafill.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace :datafill do
2424
skintone: COLORS.sample,
2525
fave_color: COLORS.sample,
2626
)
27-
character.change_events.update_all(user_id: owner.id)
27+
#character.change_events.update_all(user_id: owner.id)
2828
end
2929
puts
3030
puts "Done."

0 commit comments

Comments
 (0)