SyntaxFix
Write A Post
Hire A Developer
Questions
Give this a shot:
has_many :jobs, foreign_key: "user_id", class_name: "Task"
Note, that :as is used for polymorphic associations.
:as