ActiveAdmi. undefined method `captures' for nil:NilClass