v3.0.1
Change Log
- Bug Fix: Allow override of identifier_in_use lambda (#86)
Optional Configuration of identifier_in_use
This fix allows you to set a new lambda for identifier_in_use which checks to see if the newly minted id is already in use. By default, this method always indicates that the new id is not in use by always returning false.
Example Optional Configuration:
::Noid::Rails.config.identifier_in_use = lambda do |id|
ActiveFedora::Base.exists?(id) || ActiveFedora::Base.gone?(id)
end