push_type icon indicating copy to clipboard operation
push_type copied to clipboard

`model.attribute?` accessor doesn't return true when attribute is present

Open jonleighton opened this issue 8 years ago • 1 comments

Example code:

class Thing < PushType::Node
  field :name, :string
end

t = Thing.new
t.name? # => false, expected

t.name = ""
t.name? # => false, expected

t.name = "thing"
t.name? # => false, should be true

jonleighton avatar Feb 23 '17 12:02 jonleighton

Related to pr #30.

aaronrussell avatar Feb 25 '17 02:02 aaronrussell