lib/panda/modules/builders.rb in panda-1.4.1 vs lib/panda/modules/builders.rb in panda-1.4.2
- old
+ new
@@ -24,10 +24,10 @@
end
private
def build_resource(attributes)
- Panda::const_get("#{sti_name}").new(attributes.merge(:cloud_id => cloud.id))
+ Panda::const_get("#{sti_name}").new(attributes.merge('cloud_id' => cloud.id))
end
end
def create
raise "Can't create attribute. Already have an id=#{attributes['id']}" if attributes['id']
\ No newline at end of file