spree/spree — pull request #4155 by justame (2013-12-31 16:44:58+00:00)
Title: fixed duplicated rows id's and name when selecting properties from proto...

This fixes the issue in the Admin panel, when you try to add multiple properties via the "select prototype" button.
the problem was that the code generates duplicated id's and name attributes.

to reproduce the problem, just make a prototype with more than 10 properties, choose any product and add the properties via the "select from prototype" button and click "update".