I have two models named item and category, one controller named items_controller i want to create two tables for each model, in this each item has one category ,and i want to add the category if the category is not in the list box, which association can be use here?? and want to know the html code for "new.html" also
Aucun commentaire:
Enregistrer un commentaire