~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/activerecord/test/models/subscriber.rb

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
class Subscriber < ActiveRecord::Base
 
2
  set_primary_key 'nick'
 
3
  has_many :subscriptions
 
4
  has_many :books, :through => :subscriptions
 
5
end
 
6
 
 
7
class SpecialSubscriber < Subscriber
 
8
end