Sha256: 873fd0df97862533029b26034916ba434cff5735bb9161f41da9228a7dca0304

Contents?: true

Size: 122 Bytes

Versions: 11

Compression:

Stored size: 122 Bytes

Contents

class Page < ActiveRecord::Base
  validates :title, :article, :presence => true
  has_many :images, :as => :imageable
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
imperavi-rails-0.0.12.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.11.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.10.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.9.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.8.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.7.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.6.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.5.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.4.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.3.beta spec/dummy/app/models/page.rb
imperavi-rails-0.0.2.beta spec/dummy/app/models/page.rb