aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/subscriber.rb
blob: 5b78014e6fb6f9b6275438b6bfee56c411bfbfa2 (plain) (tree)
1
2
3
4
5
6
7
8
                                     
                        

                                             
   

                                    
   
class Subscriber < ActiveRecord::Base
  set_primary_key 'nick'
  has_many :subscriptions
  has_many :books, :through => :subscriptions
end

class SpecialSubscriber < Subscriber
end