Module: Devise::Orm::DataMapper::InstanceMethods

Defined in:
lib/devise/orm/data_mapper.rb

Instance Method Summary collapse

Instance Method Details

#save(flag = nil) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/devise/orm/data_mapper.rb', line 5

def save(flag=nil)
  if flag == false
    save!
  else
    super()
  end
end