Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
peetucket committed Jul 26, 2023
1 parent 2a93389 commit 0488356
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/publication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,9 @@ def authoritative_doi_source?
private

# @return [String] might be empty, won't be nil, normalize since we have some older data in varying cases
# @note obscures ActiveRecord field/attribute getter for provenance, once we are sure we have backfilled all previous
# TODO: obscures ActiveRecord field/attribute getter for provenance, once we are sure we have backfilled all previous
# records with the rake data:add_provenance rake task, we can get rid of this method
# see https://github.com/sul-dlss/sul_pub/issues/1467
def provenance
pub_hash[:provenance].to_s.downcase
end
Expand Down

0 comments on commit 0488356

Please sign in to comment.