Sha256: 79ff35dc2fdb99d3db08804353838ffb9d392aa8d86eaedbfb8f28275a11d3bf

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

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

    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/textarea_content.rb
gluttonberg-core-3.0.1 app/models/gluttonberg/textarea_content.rb
gluttonberg-core-3.0.0 app/models/gluttonberg/textarea_content.rb