fog/fog — pull request #1679 by johnnygreen (2013-03-20 05:22:31+00:00)
Title: Rackspace Node Model - variable collection does not contain instance of load balancer

The following error is observed while trying to create a new node:

/gems/fog-1.10.0/lib/fog/rackspace/models/load_balancers/node.rb:41:in `create': undefined method `id' for nil:NilClass (NoMethodError)
/gems/fog-1.10.0/lib/fog/rackspace/models/load_balancers/node.rb:26:in `save'

I've attached code that replaces collection.load_balancer with @attribute[:load_balancer] which seems to fix the problem, but I'm not sure if this is the best method.