V
V
vadik362015-08-15 22:14:43
Ruby on Rails
vadik36, 2015-08-15 22:14:43

How to enter multiple values ​​in Active Admin field?

Hello.
In my Rails application, I have a product that needs to have the currently available sizes defined by the admin. How can I make it possible to add several values ​​to the Sizes field when creating a product from the admin panel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima, 2015-08-15
@vadik36

Create a Size model, and link it with a many-to-many relationship to the product. It turns out, something like a guide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question