Sha256: cd07319467e97522481954d4dc567a67a8f7f825ff56a417807d2631c2ebf472

Contents?: true

Size: 179 Bytes

Versions: 4

Compression:

Stored size: 179 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/models/page_section.rb
grandstand-0.2.3 app/models/page_section.rb
grandstand-0.2.2 app/models/page_section.rb
grandstand-0.2.1 app/models/page_section.rb