Open Source Projects
Components are stored in app/views/components and are named _component.html.erb. They can also be stored in a subdirectory of app/views/components and are named using the component name for the directory and the partial component/_component.html.erb.
Additional subcomponent partials can be included in the component directory allowing to break up the component into smaller pieces.
Add an attribute to a model and store the selected options in a bitmask value.
A Ruby on Rails starter repo. I've done the same for 5 & 6. It includes the most common gems and patterns that I'm currently using to build with.