Sha256: 7b7f224038f5faabb4645c87771f9e98ee7528eb50007c08c6f4e5046ff0a7b5

Contents?: true

Size: 341 Bytes

Versions: 8

Compression:

Stored size: 341 Bytes

Contents

class Cms::Revision < ActiveRecord::Base
  include Cms::Base
  
  serialize :data
  
  # -- Relationships --------------------------------------------------------
  belongs_to :record, :polymorphic => true
  
  # -- Scopes ---------------------------------------------------------------
  default_scope -> { order('created_at DESC') }
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.11.2 app/models/cms/revision.rb
comfortable_mexican_sofa-1.11.1 app/models/cms/revision.rb
comfortable_mexican_sofa-1.11.0 app/models/cms/revision.rb
comfortable_mexican_sofa-1.10.3 app/models/cms/revision.rb
comfortable_mexican_sofa-1.10.2 app/models/cms/revision.rb
comfortable_mexican_sofa-1.10.1 app/models/cms/revision.rb
comfortable_mexican_sofa-1.10.0 app/models/cms/revision.rb
comfortable_mexican_sofa-1.9.3 app/models/cms/revision.rb