educoder/app/models/mirror_update_record.rb

6 lines
267 B
Ruby

class MirrorUpdateRecord < ActiveRecord::Base
belongs_to :user
belongs_to :mirror_repository
attr_accessible :newDescription, :newName, :newStatus, :newTag, :newType, :oldDescription, :oldName, :oldStatus, :oldTag, :oldType, :user_id, :mirror_repository_id
end