Sha256: 23b50f33b9471a2e2e1e54ab878ca03df51869b1de7251304864f16cf795fb78

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

module Gluttonberg
  # Page content for plain text field. All content/localization related functionality 
  # is provided Content::Block mixin 
  # Stores user input in :text column all other information is just meta information
  class PlainTextContent  < ActiveRecord::Base
    self.table_name = "gb_plain_text_contents"

    attr_accessible :text

    include Content::Block

    is_localized do
      attr_accessible :text
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/models/gluttonberg/plain_text_content.rb
gluttonberg-core-3.0.1 app/models/gluttonberg/plain_text_content.rb
gluttonberg-core-3.0.0 app/models/gluttonberg/plain_text_content.rb