register < user
admin < user
class project has_many :admin, :class => 'User', :conditions => "type = 'admin'" has_many :registers, :class => 'User', :conditions => "type = 'registers'"
the problem here is, when I use project to has_many create a register or admin, it doesn't automate fill object class into type filed.
like this: project.admins.new.
how to fix this problem ?