Sha256: e397626ad2b2b0238eeb54706a54fb69e30a998907978c25ada328cdd909c518
Contents?: true
Size: 404 Bytes
Versions: 17
Compression:
Stored size: 404 Bytes
Contents
class DynamicAttributeDefinition < ActiveRecord::Base belongs_to :attribute_defineable, :polymorphic => true # definition should contain a json hash like this: # {"body" => {"object_type" => "text"}} # # If you want more info, you can add other descriptions # {"body" => {"object_type" => "text", "name" => "Body", "description" => "What the body will include"}} serialize :definition end
Version data entries
17 entries across 17 versions & 1 rubygems