team-formalist / formalist-rb

Flexible form builder
MIT License
22 stars 4 forks source link

Use fetch to check for nil values in attributes #75

Closed makenosound closed 6 years ago

makenosound commented 6 years ago

The truthy check here means it fails for falsy values, so something like:

sortable: false

... would never make it through to the AST.