Sha256: f81b748efdecd0b900113e1d1adfabc5bc231a830791dc64dd30b43f8b605a63
Contents?: true
Size: 562 Bytes
Versions: 7
Compression:
Stored size: 562 Bytes
Contents
class PatronMerge < ActiveRecord::Base belongs_to :patron, :validate => true belongs_to :patron_merge_list, :validate => true validates_presence_of :patron, :patron_merge_list validates_associated :patron, :patron_merge_list def self.per_page 10 end end # == Schema Information # # Table name: patron_merges # # id :integer not null, primary key # patron_id :integer not null # patron_merge_list_id :integer not null # created_at :datetime # updated_at :datetime #
Version data entries
7 entries across 7 versions & 1 rubygems