module ActiveAdmin::ResourceController::DataAccess
def update_resource(object, attributes)
-
(void)-
Parameters:
-
attributes(Array) -- An array with the attributes in the first position -
object(ActiveRecord::Base) -- The instance to update
def update_resource(object, attributes) object = assign_attributes(object, attributes) run_update_callbacks object do save_resource(object) end end