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

SurveyGizmo::API::Response.first doesn't set the datesubmitted value. #105

Open
GCorbel opened this issue Apr 15, 2019 · 1 comment
Open

Comments

@GCorbel
Copy link
Contributor

GCorbel commented Apr 15, 2019

I noticed than this gives nil :

SurveyGizmo::API::Response.first(id: 1, survey_id: 1).datesubmitted

And this gives the correct date :

SurveyGizmo::API::Survey.first(id: survey.survey_id).responses.first.datesubmitted

I'm sure this is the same data. They should both have the submission date.

@jarthod
Copy link
Collaborator

jarthod commented Apr 17, 2019

I guess it should indeed, you can submit a PR if you have a fix ;)

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