Displaying 1 result from an estimated 1 matches for "completion_status".
2013 May 14
5
Why joins queries make result readonly?
...ot;id" INNER
JOIN "specialists" ON "specialists"."id" =
"order_executors"."specialist_id" WHERE "specialists"."id" = 1
=> [#<Order id: 20, orderable_id: 11, orderable_type: "PlanDevelopment",
client_id: 1, completion_status: "finished", created_at: "2013-05-13
20:48:19", updated_at: "2013-05-14 00:36:38", price:
#<BigDecimal:67e5898,''0.14E2'',9(36)>>]
I see no additional columns but Order.by_executor(1).first.readonly? is
true. Is that necessary?
p.s. Yes I...