pushtype / push_type

PushType is a modern, open source content management system for Ruby on Rails.
http://www.pushtype.org
Other
290 stars 32 forks source link

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

Open jonleighton opened 7 years ago

jonleighton commented 7 years ago

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
aaronrussell commented 7 years ago

Related to pr #30.