Sha256: eb41760d43718cff885d943d96fbb17171996d5fdcf1d48f0c081c372e747884
Contents?: true
Size: 251 Bytes
Versions: 16
Compression:
Stored size: 251 Bytes
Contents
class PagePart < ActiveRecord::Base belongs_to :page validates_presence_of :title has_friendly_id :title, :use_slug => true, :strip_diacritics => true def content self.body end def content=(value) self.body = value end end
Version data entries
16 entries across 16 versions & 1 rubygems