Sha256: bd1be1f3482e72a1d5ebec686caaeec4bbca0ac0c4622c58817a3e79df4c01fc

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

class Grandstand::PageSection < ActiveRecord::Base
  set_table_name :grandstand_page_sections

  belongs_to :page
  Grandstand.page_sections.each do |section|
    scope section.to_sym, where(:section => section)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grandstand-0.3.0 app/models/grandstand/page_section.rb