I know active record require for User use user_id if you want to set up foreign key, but for project needed we must use three different fields for storing different users (responsible,executor,validation users)
So now it looks like
Task
-----------
name | date | until | initiation | validation | execution
I think it should looks like
has_one :user,class => User,:as=> :initiation
or similar, but still cant find right way