Skip to content

Instantly share code, notes, and snippets.

@kaleemullah
Created October 30, 2014 05:37
Show Gist options
  • Save kaleemullah/f95a6eee2d6a2e1f5c91 to your computer and use it in GitHub Desktop.
Save kaleemullah/f95a6eee2d6a2e1f5c91 to your computer and use it in GitHub Desktop.
Overwriting ActiveAdmin update method
ActiveAdmin.register MyModel do
....
controller do
def update
model = MyModel.find(params[:id])
....
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment