Sha256: 3a5b7470883d874c28ee256ad2b5f06706a3343896bf49e5d37e15e04897862b

Contents?: true

Size: 331 Bytes

Versions: 27

Compression:

Stored size: 331 Bytes

Contents

module Brightcontent
  module ModelExtensions
    extend ActiveSupport::Concern

    module ClassMethods
      def brightcontent_columns
        @brightcontent_columns ||= column_names.dup
      end

      def add_brightcontent_column(column_name)
        brightcontent_columns.append(column_name.to_s)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
brightcontent-core-2.1.0 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.33 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.31 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.30 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.29 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.28 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.27 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.26 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.25 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.24 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.23 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.22 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.21 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.20 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.19 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.18 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.17 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.16 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.15 lib/brightcontent/model_extensions.rb
brightcontent-core-2.0.14 lib/brightcontent/model_extensions.rb