ActiveAdmin: Define overwritable resource inside an engine
I do not take all of the credit for this. The ActiveAdmin wiki already had a page describing how to define a resource in an engine. But the code in the wiki page would not allow the new resource defined in the engine to be overwritten by the main application. I updated the wiki page with code and an explanation to allow the resource to be overwritten by the main application.
https://github.com/gregbell/active_admin/wiki/Define-a-resource-inside-an-engine
Written by Jim Smith
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#