Sha256: 9869effa310ae5a67f30dfffda02d99347c2d653b745f2d10a788ee2a9b86cd3

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

class Page < ActiveRecord::Base
	include Amalgam::Models::Page

	attr_accessible :parent_id ,:prev_id ,:next_id ,:title ,:slug , :body
  # attr_accessible :parent_id, :prev_id ,:next_id ,:title ,:slug , :as => :admin
  # attr_accessible :body, :as => :edit
  translates :body, :title
  store :body
  translation_class.send :store, :body
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
amalgam-2.1.4 spec/dummy/app/models/page.rb
amalgam-2.1.3.1 spec/dummy/app/models/page.rb
amalgam-2.1.3 spec/dummy/app/models/page.rb
amalgam-2.1.2 spec/dummy/app/models/page.rb
amalgam-2.1.1 spec/dummy/app/models/page.rb