Displaying 1 result from an estimated 1 matches for "l2017".
Did you mean:
2017
2009 Aug 28
2
Association extension method
...; :account })
scope
end
end
end
In a controller, I''d like to write:
current_dropzone.transactions.limited_to(@transaction)
but, I get the error:
RuntimeError: ERROR C42P01 Mmissing FROM-clause entry for
table "account" P122 Fparse_relation.c L2017
RwarnAutoRange: SELECT "transactions".* FROM "transactions" INNER
JOIN "accounts" ON "accounts".id = "transactions".account_id WHERE
(account.dropzone_id = 2) (ActionView::TemplateError)
I''ve searched all over and tried many options bu...