Files
discourse/spec
Loïc Guitaut a8b312426b DEV: Add symbol to ActiveModel attribute types (#36420)
`ActiveModel` doesn’t have a `symbol` type by default, but it can be
quite handy for contracts from our service framework.

This way, it’s easy to get a symbol from an attribute. Any non-blank
value will get converted to a symbol by being converted to a string
before. A blank value will return `nil`.
2025-12-03 10:57:44 +01:00
..