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

Allowing nil? #43

Open
tetherit opened this issue May 3, 2016 · 0 comments
Open

Allowing nil? #43

tetherit opened this issue May 3, 2016 · 0 comments

Comments

@tetherit
Copy link

tetherit commented May 3, 2016

I have an attribute:

  attribute :link, Type::Integer

I'm trying to remove the value but it keeps the 0 value :(

> device.update :link => nil
>  device.link
=> 0

Anyway to have a type but to allow nil?

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

0 participants