0
: 일부 코드는 다음과 같이 작동하지 :입력이 배열에서 작동하지 않습니까? active_admin에서
form do |f|
f.inputs "title" do
%w(AreaGroupId DescriptionFlags Dispel Mechanic modalNextSpell).each do |ele|
f.input ele
end
end
end
나는이 같은 다른 형식을 쓸 때 :
form do |f|
f.inputs "title" do
f.input AreaGroupId
f.input DescriptionFlags
f.input Dispel
f.input Mechanic
f.input modalNextSpell
end
end
이 때문에이
이유를 실행할 수 있습니까? 뭔가 잘못 ?
예. 고쳐 주셔서 감사합니다! – lioooo