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:
parent
89d71ab963
commit
b0698648dc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue