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
|
||||
|
||||
def save
|
||||
if new_record?
|
||||
unless persisted?
|
||||
#Lame ...
|
||||
raise RuntimeError, "Should not be here"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue