Sha256: f43972523bb5f141fa4ba1eea14d0d9f6947719e22e2dbb56d30216e08485b52

Contents?: true

Size: 178 Bytes

Versions: 2

Compression:

Stored size: 178 Bytes

Contents

class Grandstand::PageSection < ActiveRecord::Base
  belongs_to :page
  Grandstand.page_sections.each do |section|
    scope section.to_sym, where(:section => section)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grandstand-0.2.7 app/models/grandstand/page_section.rb
grandstand-0.2.6 app/models/grandstand/page_section.rb