Sha256: 46b653b91db99ef60357eaf83da0f5288267a4d176cbfac45469abf1e0aaf1f1

Contents?: true

Size: 435 Bytes

Versions: 18

Compression:

Stored size: 435 Bytes

Contents

class Cms::Revision < ActiveRecord::Base
  
  ComfortableMexicanSofa.establish_connection(self)
  
  self.table_name = 'cms_revisions'
  
  serialize :data
  
  attr_accessible :data
  
  # -- Relationships --------------------------------------------------------
  belongs_to :record, :polymorphic => true
  
  # -- Scopes ---------------------------------------------------------------
  default_scope order('created_at DESC')
  
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.6.31 app/models/cms/revision.rb
comfortable_mexican_sofa-1.8.5 app/models/cms/revision.rb
comfortable_mexican_sofa-1.8.4 app/models/cms/revision.rb
comfortable_mexican_sofa-1.8.3 app/models/cms/revision.rb
comfortable_mexican_sofa-1.8.2 app/models/cms/revision.rb
comfortable_mexican_sofa-1.8.1 app/models/cms/revision.rb
comfortable_mexican_sofa-1.8.0 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.30 app/models/cms/revision.rb
comfortable_mexican_sofa-1.7.3 app/models/cms/revision.rb
comfortable_mexican_sofa-1.7.1 app/models/cms/revision.rb
comfortable_mexican_sofa-1.7.0 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.26 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.25 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.24 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.23 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.22 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.21 app/models/cms/revision.rb
comfortable_mexican_sofa-1.6.20 app/models/cms/revision.rb