RiotGames/ridley — pull request #101 by KAllan357 (2013-04-26 01:33:39+00:00)
Title: Search is Broken

On Ridley:master. Not sure what's happening yet.

```
irb(main):100:0> conn.search(:node, "chef_environment:KA1")
=> [# chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>, # chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>, # chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>, # chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>, # chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>, # chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>, # chef_environment="_default" chef_type="node" default=# json_class="Chef::Node" name=nil normal=# override=# run_list=[]>>]
irb(main):101:0> conn.search(:node, "chef_environment:KA1").size
=> 7
```

The number of nodes returned is correct, but the initializer for the NodeObject looks like it might be just the default.