Sha256: 594ca428f129106c0569944d180cdadca45d4d4a8a1d560b73d33b6903d61fcb
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
module MegaBar class ThemeJoin < ActiveRecord::Base belongs_to :themeable, polymorphic: true #, optional: true belongs_to :theme validates_presence_of :themeable_type, allow_blank: false validates_presence_of :theme_id, allow_blank: false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mega_bar-0.5.2 | app/models/mega_bar/theme_join.rb |
mega_bar-0.5.1 | app/models/mega_bar/theme_join.rb |