module Spree
  class Page < ActiveRecord::Base
    validates :title, :presence => true
    validates :permalink, :uniqueness => true
  
    scope :published, where(:published => true)

    paginates_per 50
  end
end

module Spree
  class Page < ActiveRecord::Base
    attr_accessible :title, :meta_keywords, :meta_description, :body, :permalink, :published
    validates :title, :presence => true
    validates :permalink, :uniqueness => true
  
    scope :published, where(:published => true)

    paginates_per 50
  end
end

Add attr_accessible to be compatible with rails 3.2.6+
Add attr_accessible to be compatible with rails 3.2.6+
