Files
discourse/lib
Loïc Guitaut 695533b99c DEV: Add a compact_blank option to the ActiveModel array type (#35476)
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
```
2025-10-20 11:33:36 +02:00
..
2022-04-28 11:51:03 +02:00
2024-08-12 10:41:13 +02:00
2025-09-24 12:00:22 +02:00
2024-11-06 06:27:49 +08:00
2023-02-21 10:30:48 +01:00
2020-07-21 15:55:03 +08:00
2025-07-24 22:04:13 +02:00
2025-09-30 10:39:08 +08:00