I have two models, Item and Bid
field :name, type: String
field :bid, type: Float
In views/prices/index I would like to list all items in a table and for
each item put a field next it in which people can enter a number. At the
bottom of the form should be a submit button for all records.
How is this best achieved?
There’s plenty of code out there explaining how to add, for instance,
questions to one
couldn’t find an example that shows how to add one new record for
each of of an existing element of a collection.