Sha256: f60b6192537de45fcc5ffaea47e22dfd19109feb6231330d7755e3dddc83aa19

Contents?: true

Size: 135 Bytes

Versions: 3

Compression:

Stored size: 135 Bytes

Contents

class Post < ActiveRecord::Base
  stampable stamper_class_name: :person
  validates :creator, presence: true
  has_many :comments
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
userstamper-4.1.0 spec/dummy/app/models/post.rb
userstamper-4.0.1 spec/dummy/app/models/post.rb
userstamper-4.0.0 spec/dummy/app/models/post.rb