Sha256: 6398f0acb2fb0d92ef1c81d4116e3497b0c08cd3164dca5acc250dbdea55a8dd

Contents?: true

Size: 182 Bytes

Versions: 42

Compression:

Stored size: 182 Bytes

Contents

module Virgo
  class PageModulePost < ActiveRecord::Base
    belongs_to :page_module, touch: true
    belongs_to :post

    scope :by_position, ->{ order(position: :asc) }
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
virgo-0.3.17 app/models/virgo/page_module_post.rb
virgo-0.3.16 app/models/virgo/page_module_post.rb
virgo-0.3.15 app/models/virgo/page_module_post.rb
virgo-0.3.14 app/models/virgo/page_module_post.rb
virgo-0.3.13 app/models/virgo/page_module_post.rb
virgo-0.3.12 app/models/virgo/page_module_post.rb
virgo-0.3.11 app/models/virgo/page_module_post.rb
virgo-0.3.10 app/models/virgo/page_module_post.rb
virgo-0.3.9 app/models/virgo/page_module_post.rb
virgo-0.3.8 app/models/virgo/page_module_post.rb
virgo-0.3.7 app/models/virgo/page_module_post.rb
virgo-0.3.6 app/models/virgo/page_module_post.rb
virgo-0.3.4 app/models/virgo/page_module_post.rb
virgo-0.3.3 app/models/virgo/page_module_post.rb
virgo-0.3.2 app/models/virgo/page_module_post.rb
virgo-0.3.1 app/models/virgo/page_module_post.rb
virgo-0.3 app/models/virgo/page_module_post.rb
virgo-0.2.9 app/models/virgo/page_module_post.rb
virgo-0.2.8 app/models/virgo/page_module_post.rb
virgo-0.2.7 app/models/virgo/page_module_post.rb