how can we add field in a table from front-end in rails

Viewed 16

I am working on implementing a functionality adding categories but the problem is I want to take fields against each category dynamically from admin side. e.g admin wants to create two categories one is laptops and the other is chairs. So, he will add fields like dimensions and colour against chairs and memory, screen size and processor against laptops. how can we achieve this behaviour.

0 Answers
Related