Closed iduuck closed 7 years ago
@iDuuck did you find a fix for this? I'm hitting the same thing here.
@iDuuck try to add following to initializer
module ActiveAdmin
module ViewHelpers
module DisplayHelper
const_set :DISPLAY_NAME_FALLBACK, ->{
name, klass = "", self.class
name << klass.model_name.human if klass.respond_to? :model_name
name.present? ? name : to_s
}
end
end
end
Hi there, I got a problem when developing with activeadmin-mongoid. So, everythings fine, but now I wanted to create a new Booking (my model name) and then I got the following error:
[:_id] is not a symbol
I tried to edit, that the
_id
should not be shown on the show page, but it also does not help.The entire trace: