Registry / database / custom-fields

custom-fields

JSON →
library2.13.1rbrubygemsunverified

Manage custom fields to a Mongoid document or a collection. This module is one of the core features we implemented in our custom CMS, named LocomotiveCMS.

gem install custom_fields
INSTALL
IMPORT
SIG · CUSTOM-FIELDS
C
custom-fields
databaserubyv2.13.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CustomFields
require 'custom_fields'

Add custom fields to a Mongoid document.

require 'custom_fields' # Define a custom field on a Mongoid model: # class Article # include Mongoid::Document # include CustomFields::Fieldable # field :title, type: String # end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.13.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
36
Amazon
1
OpenAI (training)
1
Resources
custom-fields — gem install custom-fields · libregistry