lib/about_page/fedora.rb in about_page-0.1.0 vs lib/about_page/fedora.rb in about_page-0.1.1
- old
+ new
@@ -2,10 +2,10 @@
class Fedora < AboutPage::Configuration::Node
delegate :each_pair, :to_json, :to_xml, :to => :to_h
validates_each :profile do |record, attr, value|
unless value.present?
- record.errors.add attr, ": unable to connect to Fedora: #{record.rubydora.inspect}"
+ record.errors.add attr, ": unable to connect to Fedora at #{record.rubydora.config[:url]}"
end
end
render_with 'generic_hash'