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

Defined in:
lib/activerecord_support.rb

Instance Method Summary collapse

Instance Method Details

#clear_association(association) ⇒ Object



169
170
171
# File 'lib/activerecord_support.rb', line 169

def clear_association(association)
  association.clear
end

#destroyObject



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

def destroy
  super
end

#errorsObject



165
166
167
# File 'lib/activerecord_support.rb', line 165

def errors
  super
end

#idObject



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

def id
  super
end

#saveObject



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

def save
  super
end

#update_attributes(attributes) ⇒ Object



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

def update_attributes(attributes)
  super
end