Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create method error #16

Closed
niallobrien opened this issue Jan 27, 2016 · 0 comments
Closed

Create method error #16

niallobrien opened this issue Jan 27, 2016 · 0 comments
Assignees

Comments

@niallobrien
Copy link

Hi, todo = yield todo.create() returns {"command":"INSERT","rowCount":1,"oid":0,"rows":[],"fields":[],"_parsers":[],"RowCtor":null,"rowAsArray":false}.

I would have assumed this to either return the newly inserted model or at least its id so I can then pass it from the store method to the show method with a redirect.

Thanks in advance.

@thetutlage thetutlage added the bug label Jan 27, 2016
@thetutlage thetutlage self-assigned this Jan 27, 2016
thetutlage added a commit that referenced this issue Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants