mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
code cleanup
This commit is contained in:
parent
27edbf5131
commit
754ba9dc12
@ -6,7 +6,11 @@
|
||||
if f.object.respond_to?(field.name.to_sym)
|
||||
value = f.object.send(field.name.to_sym)
|
||||
else
|
||||
value = field.attribute_values.find_by(user: f.object.user, entity_type: f.object.class.name, entity_id: f.object.id)
|
||||
value = field.attribute_values.find_by(
|
||||
user: f.object.user,
|
||||
entity_type: f.object.class.name,
|
||||
entity_id: f.object.id
|
||||
)
|
||||
end
|
||||
%>
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ namespace :datafill do
|
||||
skintone: COLORS.sample,
|
||||
fave_color: COLORS.sample,
|
||||
)
|
||||
character.change_events.update_all(user_id: owner.id)
|
||||
#character.change_events.update_all(user_id: owner.id)
|
||||
end
|
||||
puts
|
||||
puts "Done."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user