I have a problem with radio objects in SimpleForm.
When i use
= f.association :manufactureType, :collection => ManufactureType.all, :as => :radio
Rails simply generate several radio objects, but none of them are selected. I want the first radio balloon to be selected by default. How can i do this?
thank
ruby-on-rails ruby-on-rails-3 simple-form
mswiszcz Jun 25 2018-11-11T00: 00Z
source share