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

Disable Deep Munging in Rails #803

Merged
merged 1 commit into from May 5, 2015

Conversation

edpaget
Copy link
Contributor

@edpaget edpaget commented May 5, 2015

Closes #743

Because most users of Rails are apparently unable or unwilling to check
params before passing arguments to AR#find, Rails converts empty arrays
in params to nil. This makes 0 sense to me, but whatever, it's easy to
turn off.

Closes zooniverse#743

Because most users of Rails are apparently unable or unwilling to check
params before passing arguments to AR#find, Rails converts empty arrays
in params to nil. This makes 0 sense to me, but whatever, it's easy to
turn off.
@camallen
Copy link
Contributor

camallen commented May 5, 2015

Yeah - i'm happy to turn this off for the moment. Looks like rails/rails#13420 should end up sorting where an emprty [] param doesn't get converted to nil.

@edpaget
Copy link
Contributor Author

edpaget commented May 5, 2015

I'm not holding my breath since that issue was opened in 2013.

camallen added a commit that referenced this pull request May 5, 2015
@camallen camallen merged commit 532b595 into zooniverse:master May 5, 2015
@edpaget edpaget deleted the workflow-tasks-null branch May 5, 2015 16:19
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

Successfully merging this pull request may close these issues.

Empty workflow.tasks.task.answers array turns into null
2 participants