Sha256: 9236482fecadaf1c7345763fcb5edaaabc7f0b78485bfe6a2fc4da9059465d29
Contents?: true
Size: 432 Bytes
Versions: 23
Compression:
Stored size: 432 Bytes
Contents
module Brightcontent module ModelExtensions extend ActiveSupport::Concern module ClassMethods def brightcontent_columns (column_names + added_brightcontent_columns).uniq end def add_brightcontent_column(column_name) added_brightcontent_columns << column_name.to_s end def added_brightcontent_columns @_added_brightcontent_columns ||= [] end end end end
Version data entries
23 entries across 23 versions & 1 rubygems