Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up#[changeset_for(table_name)] only implements save_changes if there is a field called id on the struct #354
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
weiznich commentedJun 14, 2016
The documentation states that
save_changesis implemented if the struct contains a field called like the primary key:Codegen implements
save_changesonly if there is a field calledid. Either we should fix the documentation or we add support for custom primary keys here.