Sha256: 5871cbca8098683c8700ca588a907da4b65ee3717f72dcbb8efab17930d96e14

Contents?: true

Size: 146 Bytes

Versions: 3

Compression:

Stored size: 146 Bytes

Contents

class Post < ActiveRecord::Base
  
  acts_as_predecessor :exposes => :hello
  
  belongs_to :category
  
  def hello
    "Hi there!"
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heritage-0.3.1 heritage_demo/app/models/post.rb
heritage-0.3.0 heritage_demo/app/models/post.rb
heritage-0.2.0 heritage_demo/app/models/post.rb