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