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 end
def save def save
if new_record? unless persisted?
#Lame ... #Lame ...
raise RuntimeError, "Should not be here" raise RuntimeError, "Should not be here"
else else