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 upWe should be able to pass a model to `update` #179
Comments
added a commit
that referenced
this issue
Feb 5, 2016
sgrif
referenced this issue
Feb 5, 2016
Merged
Fix remaining FIXMEs that are going to be fixed in 0.5 #195
This comment has been minimized.
|
This was implemented by a737308 |
sgrif
closed this
Dec 10, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgrif commentedFeb 3, 2016
I'd like to be able to write something like this:
postin that example should be a shorthand forposts::table.find(id). Why not just write that? Because I want this code to returnErr(DatabaseError::NotFound)if the id doesn't exist. This will probably require a new trait, instead of tacking it onto an exiting one. I've been mulling over#[derive(Identifiable)]for a while, which I think will eventually be required for associations anyway.