[api] reduce the usage of node.to_s
authorStephan Kulow <coolo@suse.de>
Mon, 18 Jul 2011 09:05:41 +0000 (11:05 +0200)
committerStephan Kulow <coolo@suse.de>
Mon, 18 Jul 2011 15:10:02 +0000 (17:10 +0200)
commit7bf6a01b3da7bb31000507b7c9598c19384f835f
tree4c680c6c7ade26923b4d00e70ae57ffa90258093
parent0937ab9f1b2f6dd49dbac8bc778d1ae9a3b59e5b
[api] reduce the usage of node.to_s

that function should slowly fade away, as to_s in a XML node representing
<arch name="i586"/> is not expected to return ""
src/api/app/controllers/request_controller.rb
src/api/app/models/db_package.rb
src/api/app/models/db_project.rb