newbie here, first post.
I just spent 4 hours trying to assign one category to a post (try out an ordinary thing on a blog) using a radio button, but to no avail. The association works fine, and in the end I managed to get it to work with the selected menu, but for some reason it seems that the radio buttons are simply not designed for this.
I really donβt like using the selection menu for this, because I have only 4 categories, and you need to double-click to select one of them, there is too much one click. So I really would like to use radio buttons.
I checked another question on the topic and searched the Internet pointlessly, but it only helped me get a more diverse array of errors: Undefined methods, AssociationTypeMismatch, category_ids 0, you name it. So I gave up today and decided to create an account and see if anyone could hack it. Any help would be appreciated.
Thanks.
source share