search for: tasklink

Displaying 1 result from an estimated 1 matches for "tasklink".

Did you mean: talklink
2008 Apr 23
0
self referential (n-n relationship) belongs many controller
...relationship in other table called links 1st table : tasks columns : id | infos neutral... (as title, description etc ...) ----------------------------------------------------------------------------------- model : class Task < ActiveRecord::Base belongs_to :statut has_many :links has_many :tasklinks , :through => :links end --------------------------------------------------------------------------------------- 2e table : links columns : id | task_id | tasklink_id so in this table, the tasklink_id are the key for the associated tasks to task_id -------------------------------------------...