Module: MerbAdmin::AbstractModel::ActiverecordSupport::InstanceMethods

Defined in:
lib/activerecord_support.rb

Instance Method Summary collapse

Instance Method Details

#clear_association(association) ⇒ Object



162
163
164
# File 'lib/activerecord_support.rb', line 162

def clear_association(association)
  association.clear
end

#destroyObject



150
151
152
# File 'lib/activerecord_support.rb', line 150

def destroy
  super
end

#errorsObject



158
159
160
# File 'lib/activerecord_support.rb', line 158

def errors
  super
end

#idObject



142
143
144
# File 'lib/activerecord_support.rb', line 142

def id
  super
end

#saveObject



146
147
148
# File 'lib/activerecord_support.rb', line 146

def save
  super
end

#update_attributes(attributes) ⇒ Object



154
155
156
# File 'lib/activerecord_support.rb', line 154

def update_attributes(attributes)
  super
end