instiki/app/models/revision.rb

5 lines
125 B
Ruby

class Revision < ActiveRecord::Base
belongs_to :page
composed_of :author, :mapping => [ %w(author name), %w(ip ip) ]
end