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.30 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.29 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.28 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.27 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.26 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.25 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.24 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.23 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.22 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.21 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.20 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.19 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.18 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.17 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.16 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.15 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.14 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.13 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.12 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb
fullstack-cms-0.2.11 lib/generators/fullstack/cms/templates/rails/lib/support/timestamped_content.rb