Sha256: 418d6324ce42dd869b4583e4319cdf46a2128883310f627930817e33fc172ecd

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

class Organism < ActiveRecord::Base
  attr_accessible :status, :title
  
  has_many :members, class_name:'Adherent::Member'
  has_many :payments, :through=>:members, class_name:'Adherent::Payment'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adherent-0.1.5 test/dummy/app/models/organism.rb
adherent-0.1.4 test/dummy/app/models/organism.rb