File: vampire.rb

package info (click to toggle)
ruby-protected-attributes 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 304 kB
  • ctags: 382
  • sloc: ruby: 1,977; makefile: 2
file content (4 lines) | stat: -rw-r--r-- 115 bytes parent folder | download | duplicates (2)
1
2
3
4
class Vampire < ActiveRecord::Base
  has_many :battles, :as => :battle
  has_many :teams, :through => :battles
end