instiki/app/models/revision.rb
2007-01-22 07:43:50 -06:00

4 lines
125 B
Ruby

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