Module: MerbAdmin::AbstractModel::SequelSupport::InstanceMethods

Defined in:
lib/sequel_support.rb

Instance Method Summary collapse

Instance Method Details

#clear_association(association) ⇒ Object



272
273
274
275
# File 'lib/sequel_support.rb', line 272

def clear_association(association)
  # FIXME: This should be changed to use the remove_all_* association method.
  association.clear
end

#update_attributes(attributes) ⇒ Object



268
269
270
# File 'lib/sequel_support.rb', line 268

def update_attributes(attributes)
  update(attributes)
end