Sha256: 2122dab64f0f36660af89b6c77014d9045fc97b492b5f18769cdb4fafb665e6c

Contents?: true

Size: 195 Bytes

Versions: 45

Compression:

Stored size: 195 Bytes

Contents

module TimestampedContent
  extend ActiveSupport::Concern
  
  included do
    include Content
    
    index :created_at
    default_scope :order => 'created_at DESC'
    timestamps
  end
  
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
fullstack-cms-0.2.10 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.9 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.8 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.7 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.6 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.5 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.4 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.3 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.2 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.1 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.17 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.15 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.14 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.13 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.12 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.11 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.9 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.8 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.7 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.1.6 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb