bradrf/rsql — Issue #23: unable to use safe_save directly on @results
Author: bradrf
Created: 2012-01-14 20:35:57+00:00
State: open

fixme:
```ruby
rsql> .list_abnormal_nodes | safe_save(@results, 'abnormal');
can't convert Hash into Integer
/usr/lib/ruby/1.8/yaml.rb:389:in `hash'
/usr/lib/ruby/1.8/yaml.rb:389:in `quick_emit'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:107:in `to_yaml'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `node_export'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `add'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `map'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
/usr/lib/ruby/1.8/yaml.rb:391:in `call'
/usr/lib/ruby/1.8/yaml.rb:391:in `emit'
/usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
/usr/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml'
/usr/lib/ruby/1.8/yaml.rb:117:in `dump'
```