כיצד אוכל להוסיף מאפיין למודל המשתמש?

Sorry this might not be much help, but it’s fast. :slight_smile:

Something that you expect to be an array is nil. Mabye args is nil and needs to be a []?

You can also take a look at GitHub - discourse/all-the-plugins · GitHub to try to find examples of what you’re trying to do (I can’t quite tell what you’re trying to do).

Check out discourse-calendar. It adds an Event class, which seems pretty analogous to what you’re trying to do.

There are a bunch of plugins taht have a similar reloadable_patch block, though.