Skip to content

Commit

Permalink
lets try this again
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Jan 27, 2022
1 parent 57df749 commit 6f16743
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/factories/bulkrax/object_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def update
destroy_existing_files if @replace_files && klass != Collection
attrs = attribute_update
run_callbacks :save do
# binding.pry
klass == Collection ? update_collection(attrs) : work_actor.update(environment(attrs))
end
log_updated(object)
Expand Down Expand Up @@ -94,7 +93,6 @@ def create
object.reindex_extent = Hyrax::Adapters::NestingIndexAdapter::LIMITED_REINDEX
run_callbacks :save do
run_callbacks :create do
# binding.pry
klass == Collection ? create_collection(attrs) : work_actor.create(environment(attrs))
end
end
Expand Down
2 changes: 0 additions & 2 deletions app/models/concerns/bulkrax/has_matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def add_metadata(node_name, node_content, index = nil)
single_metadata(node_content)
end

# binding.pry if name == 'format'
object_name.present? ? set_parsed_object_data(object_multiple, object_name, name, index, value) : set_parsed_data(name, value)
end
end
Expand Down Expand Up @@ -160,7 +159,6 @@ def multiple?(field)
#{related_parents_parsed_mapping}
#{related_children_parsed_mapping}
]
binding.pry if field == 'format'

return true if @multiple_bulkrax_fields.include?(field)
return false if field == 'model'
Expand Down

0 comments on commit 6f16743

Please sign in to comment.