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
162 163 164 |
# File 'lib/activerecord_support.rb', line 162 def clear_association(association) association.clear end |
#destroy ⇒ Object
150 151 152 |
# File 'lib/activerecord_support.rb', line 150 def destroy super end |
#errors ⇒ Object
158 159 160 |
# File 'lib/activerecord_support.rb', line 158 def errors super end |
#id ⇒ Object
142 143 144 |
# File 'lib/activerecord_support.rb', line 142 def id super end |
#save ⇒ Object
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 |