Sha256: 19a8f61050bb7ac3661f7ff4011a95cf1c87bb7aab2ebb6ea1c9ae1999bc5dfe
Contents?: true
Size: 280 Bytes
Versions: 2
Compression:
Stored size: 280 Bytes
Contents
module Binda # This class provides support for dates. class Date < ApplicationRecord # Associations belongs_to :fieldable, polymorphic: true belongs_to :field_setting validates :fieldable_id, presence: true validates :fieldable_type, presence: true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
binda-0.1.5 | app/models/binda/date.rb |
binda-0.1.4 | app/models/binda/date.rb |