Sha256: 7969288901802e9678c40d32ec1d294dffbf6164d3eb09faafb06de0afe12d10

Contents?: true

Size: 112 Bytes

Versions: 7

Compression:

Stored size: 112 Bytes

Contents

class Post < ActiveRecord::Base
  acts_as_publishable
  
  validates_presence_of :title, :if => :published?
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
aguids-publishable-0.1.0 test/rails_root/app/models/post.rb
aguids-publishable-0.1.1 test/rails_root/app/models/post.rb
aguids-publishable-0.1.2 test/rails_root/app/models/post.rb
aguids-publishable-0.1.3 test/rails_root/app/models/post.rb
aguids-publishable-0.1.4 test/rails_root/app/models/post.rb
aguids-publishable-0.1.5 test/rails_root/app/models/post.rb
aguids-publishable-0.1.6 test/rails_root/app/models/post.rb