Sha256: 73b54a275d67e9558f3db21c535fc07339c2acdb8db47d62a9492508b8015262
Contents?: true
Size: 601 Bytes
Versions: 2
Compression:
Stored size: 601 Bytes
Contents
#:nodoc: module CustomFields #:nodoc: module Models ## # Model that represents a single custom field value. This model # has the following relations: # # * custom field (many to one) # * section entry (many to one) # # This model is basically just a join table with some extra columns. # # @author Yorick Peterse # @since 0.1 # class CustomFieldValue < Sequel::Model many_to_one(:custom_field , :class => "CustomFields::Models::CustomField") many_to_one(:section_entry, :class => "Sections::Models::SectionEntry") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zen-0.2.3 | lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_value.rb |
zen-0.2 | lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_value.rb |