Sha256: 4ff47b830f7bec8d6341c742462549dfa5cd56f582ded32755fdb9768a351188

Contents?: true

Size: 531 Bytes

Versions: 24

Compression:

Stored size: 531 Bytes

Contents

class AgentMerge < ActiveRecord::Base
  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
#  updated_at          :datetime
#

Version data entries

24 entries across 23 versions & 2 rubygems

Version Path
enju_biblio-0.2.5 app/models/agent_merge.rb
enju_biblio-0.2.4 app/models/agent_merge.rb
enju_biblio-0.2.3 app/models/agent_merge.rb
enju_biblio-0.2.2 app/models/agent_merge.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/app/models/agent_merge.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/app/models/agent_merge.rb
enju_biblio-0.2.1 app/models/agent_merge.rb
enju_biblio-0.2.0 app/models/agent_merge.rb
enju_biblio-0.2.0.beta.4 app/models/agent_merge.rb
enju_biblio-0.2.0.beta.3 app/models/agent_merge.rb
enju_biblio-0.2.0.beta.2 app/models/agent_merge.rb
enju_biblio-0.2.0.beta.1 app/models/agent_merge.rb
enju_biblio-0.1.3 app/models/agent_merge.rb
enju_biblio-0.1.2 app/models/agent_merge.rb
enju_biblio-0.1.1 app/models/agent_merge.rb
enju_biblio-0.1.0 app/models/agent_merge.rb
enju_biblio-0.1.0.pre71 app/models/agent_merge.rb
enju_biblio-0.1.0.pre70 app/models/agent_merge.rb
enju_biblio-0.1.0.pre69 app/models/agent_merge.rb
enju_biblio-0.1.0.pre68 app/models/agent_merge.rb