Hi there, I've got a weird error, I want to insert an object with the following code:
p = Property.first_or_create(:id => params[:propertyID]) It doesn't exist before this. The code is S000018. And I get exceptions like Duplicate entry 'S000018' for key 'PRIMARY' Can anyone tell me why this happens and how to prevent it? Thanks a lot, Christoph -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To unsubscribe from this group and stop receiving emails from it, send an email to datamapper+unsubscr...@googlegroups.com. To post to this group, send email to datamapper@googlegroups.com. Visit this group at http://groups.google.com/group/datamapper. For more options, visit https://groups.google.com/groups/opt_out.