1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[vcloud] Replaces #new_record? with #persisted?

This commit is contained in:
Paul Thornthwaite 2012-12-19 15:00:26 +00:00
parent 89d71ab963
commit b0698648dc

View file

@ -175,7 +175,7 @@ module Fog
end
def save
if new_record?
unless persisted?
#Lame ...
raise RuntimeError, "Should not be here"
else