我似乎无法找出为什么我的has_many记录不会保存。我已在模型中使用has_one进行测试,并且它工作正常,但是当我将其更改为has_many时,它不起作用。我检查了几个simulate stackoverflow的帖子,我似乎有这个正确的,但它不工作。 Nested form in activeadmin not saving updates & ActiveAdmin Form not sa
为什么我的redirect_to :back不起作用?它只是重定向到同一页面。 我的方法 controller do
def update
update! do |success, failure|
success.html { redirect_to :back }
end
end
end
我request.refere