app/controllers/user_added_data_controller.rb
# NOTE that this only takes the first one it finds.
NOTE that this only takes the first one it finds.
NOTE that this only takes the first one it finds .
def convert_to_uri(name)
    return nil unless KnownUri.exists?(name: name)
    turi = KnownUri.where(name: name).first
    return nil if known_uri.uri.blank?
    known_uri.uri
  end
def convert_to_uri ( name ) return nil unless KnownUri . exists? ( name : name ) turi = KnownUri . where ( name : name ) . first return nil if known_uri . uri . blank? known_uri . uri end
NOTE that this only takes the first one it finds.
NOTE that this only takes the first one it finds .
name
<not_specific>