In rails server side there is some trickery where the primary key can be overridden by some properties of the schema.
This will not work for the client. It could be fixed (by sending the primary key down from the server along with the column data), but there is an easy workaround: just set the primary key explicitly in the model.
In rails server side there is some trickery where the primary key can be overridden by some properties of the schema.
This will not work for the client. It could be fixed (by sending the primary key down from the server along with the column data), but there is an easy workaround: just set the primary key explicitly in the model.