Sha256: b12c2116f43ce2a83ed2cf58523f3965ae462b54949e0ca173b62275d36bc774

Contents?: true

Size: 691 Bytes

Versions: 7

Compression:

Stored size: 691 Bytes

Contents

class SeriesStatementMerge < ActiveRecord::Base
  belongs_to :series_statement, :validate => true
  belongs_to :series_statement_merge_list, :validate => true
  validates_presence_of :series_statement, :series_statement_merge_list
  validates_associated :series_statement, :series_statement_merge_list

  def self.per_page
    10
  end
end

# == Schema Information
#
# Table name: series_statement_merges
#
#  id                             :integer         not null, primary key
#  series_statement_id            :integer         not null
#  series_statement_merge_list_id :integer         not null
#  created_at                     :datetime
#  updated_at                     :datetime
#

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_resource_merge-0.0.8 app/models/series_statement_merge.rb
enju_resource_merge-0.0.7 app/models/series_statement_merge.rb
enju_resource_merge-0.0.6 app/models/series_statement_merge.rb
enju_resource_merge-0.0.5 app/models/series_statement_merge.rb
enju_resource_merge-0.0.4 app/models/series_statement_merge.rb
enju_resource_merge-0.0.3 app/models/series_statement_merge.rb
enju_resource_merge-0.0.2 app/models/series_statement_merge.rb