Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

ActiveRecord setter not allowing for zeros #8

Open
inghamn opened this issue Nov 3, 2016 · 0 comments
Open

ActiveRecord setter not allowing for zeros #8

inghamn opened this issue Nov 3, 2016 · 0 comments
Assignees
Labels

Comments

@inghamn
Copy link
Member

inghamn commented Nov 3, 2016

In the setter, zeros are getting converted to null. We need to explicitly check the type before assigning null. Zeros should be preserved. Empty strings should probably still be converted to nulls.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant