Sha256: 9f8ef74652e4fe13ac87c91bd6bbd185be7366bbe07c150fa8d777af9c5f2630

Contents?: true

Size: 616 Bytes

Versions: 5

Compression:

Stored size: 616 Bytes

Contents

class AgentMerge < ActiveRecord::Base
  attr_accessible :agent_id, :agent_merge_list_id
  belongs_to :agent, validate: true
  belongs_to :agent_merge_list, validate: true
  validates_presence_of :agent, :agent_merge_list
  validates_associated :agent, :agent_merge_list

  paginates_per 10
end

# == Schema Information
#
# Table name: agent_merges
#
#  id                  :integer          not null, primary key
#  agent_id            :integer          not null
#  agent_merge_list_id :integer          not null
#  created_at          :datetime         not null
#  updated_at          :datetime         not null
#

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
enju_biblio-0.1.0.pre62 app/models/agent_merge.rb
enju_biblio-0.1.0.pre61 app/models/agent_merge.rb
enju_biblio-0.1.0.pre60 app/models/agent_merge.rb
enju_biblio-0.1.0.pre59 app/models/agent_merge.rb
enju_resource_merge-0.1.0.pre11 app/models/agent_merge.rb