Skip to content

Migrating to Hydra 6.2

David Chandek-Stark edited this page Feb 18, 2014 · 1 revision
  • Rubydora::Repository#next_pid has been superseded by Rubydora::Repository#mint.

    Example:

Nokogiri::XML(ActiveFedora::Base.connection_for_pid(0).next_pid(pid_opts)).at_xpath('//xmlns:pid').text

  should be:

  ```ruby
ActiveFedora::Base.connection_for_pid('0').mint(pid_opts)