Project has_many :tasks Task has_many :invoices, :through => :line_items has_many :line_items LineItems belongs_to :invoice belongs_to :task Invoice has_many :tasks, :through=> :line_item has_many :line_items
I am trying to get an association from Project has_many: invoices ,: through =>: tasks
When I tried this, I get:
Invalid source reflection macro: has_many: through for has_many: invoices ,: through =>: tasks. Use: source to indicate the reflection of the source.
I do not understand a bit if this is possible, and if so, how to use: source correctly
oreoshake
source share