views:

21

answers:

1

I've seen this before but can't figure out what the correct term is. Basically, I'd like to create models for a specific subset of table data. E.g. (these are not the real classes)

class Person < ActiveRecord::Base

class Man < Person
  <something here> :gender => 'male'
A: 
Pran
Wait -- what is the <something here> part? I can't find that.
gsiener
I copied it from your example.
Pran