# attributes can be modified during "save" -- we should update our copies
resp.keys.each do |attr|
if self.respond_to? "#{attr}=".to_sym
- self.send(attr + '=', resp[attr.to_sym])
+ self.send(attr.to_s + '=', resp[attr.to_sym])
end
end
}
end
+ def class_for_display
+ self.class.to_s
+ end
+
def self.creatable?
current_user
end
(name if self.respond_to? :name) || uuid
end
+ def content_summary
+ self.class.to_s
+ end
+
def selection_label
friendly_link_name
end