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

[bug] resolving issue with boolean values in #to_params #44

Merged
merged 2 commits into from Nov 16, 2015

Conversation

Projects
None yet
1 participant
@brblck
Contributor

brblck commented Nov 16, 2015

Resolves an issue where DSL::to_params was handling boolean values incorrectly.

Example:

line_item.paused = false
line_item.to_params

Expected Result:

{ paused: false }

Actual Result:

{ paused: true }

@brblck brblck added the bug label Nov 16, 2015

@brblck brblck self-assigned this Nov 16, 2015

brblck pushed a commit that referenced this pull request Nov 16, 2015

Brandon Black
Merge pull request #44 from brandonblack/boolean-fix
[bug] resolving issue with boolean values in #to_params

@brblck brblck merged commit 8d5a046 into twitterdev:master Nov 16, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@brblck brblck deleted the brblck:boolean-fix branch Nov 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment