File: subscriber.rb

package info (click to toggle)
libactiverecord-ruby 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,668 kB
  • ctags: 3,600
  • sloc: ruby: 25,183; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 181 bytes parent folder | download | duplicates (6)
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