Module: MerbAdmin::AbstractModel::ActiverecordSupport::InstanceMethods
- Defined in:
- lib/activerecord_support.rb
Instance Method Summary collapse
- #clear_association(association) ⇒ Object
- #destroy ⇒ Object
- #errors ⇒ Object
- #id ⇒ Object
- #save ⇒ Object
- #update_attributes(attributes) ⇒ Object
Instance Method Details
#clear_association(association) ⇒ Object
169 170 171 |
# File 'lib/activerecord_support.rb', line 169 def clear_association(association) association.clear end |
#destroy ⇒ Object
157 158 159 |
# File 'lib/activerecord_support.rb', line 157 def destroy super end |
#errors ⇒ Object
165 166 167 |
# File 'lib/activerecord_support.rb', line 165 def errors super end |
#id ⇒ Object
149 150 151 |
# File 'lib/activerecord_support.rb', line 149 def id super end |
#save ⇒ Object
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 |