mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 12:53:27 +08:00
Instead of having to clean an array in a contract using a `before_validation` block, for example, we can now pass `compact_blank: true` to the attribute, like this: ```ruby attribute :ids, :array, compact_blank: true ``` |
||
|---|---|---|
| .. | ||
| action | ||
| policy | ||
| bulk_destroy.rb | ||
| silence.rb | ||
| suspend.rb | ||