class ActiveAdmin::Namespace

def find_or_build_resource(resource_class, options)

one for the resource and options
Either returns an existing Resource instance or builds a new
def find_or_build_resource(resource_class, options)
  resources.add Resource.new(self, resource_class, options)
end