Sha256: b660c550d5278c43eaaf9964a22040ce0da9f815e96a879391cb80a9ce2970eb

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

class SpudPagePartialRevision < ActiveRecord::Base
	belongs_to :spud_page

	attr_accessible :name,:content,:format,:spud_page_id

  scope :for_partial, lambda {|partial| where(:spud_page_id => partial.spud_page_id, :name => partial.name)}

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spud_cms-0.9.21 app/models/spud_page_partial_revision.rb
spud_cms-0.9.20 app/models/spud_page_partial_revision.rb
spud_cms-0.9.18 app/models/spud_page_partial_revision.rb