class ActiveAdmin::Resource
def belongs_to(target, options = {})
def belongs_to(target, options = {}) @belongs_to = Resource::BelongsTo.new(self, target, options) controller.belongs_to(target, options.dup) end
def belongs_to(target, options = {}) @belongs_to = Resource::BelongsTo.new(self, target, options) controller.belongs_to(target, options.dup) end