Sha256: aec9ad7faaf32e9750733bf3f6a505e02261a5f4d90b86b059f35afa8b48c60b
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
class CustomProperty < ApplicationRecord belongs_to :resource, polymorphic: true validates :label, presence: true end # == Schema Information # # Table name: custom_properties # # id :integer not null, primary key # resource_id :integer not null # resource_type :string not null # label :text not null # value :text # created_at :datetime not null # updated_at :datetime not null #
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.3.8 | app/models/custom_property.rb |
enju_biblio-0.3.7 | app/models/custom_property.rb |