rails/rails — pull request #10769 by senny (2013-05-27 14:55:35+00:00)
Title: using `#joins` does not imply `readonly = true`.

Fixes #10615

Before this patch using `#joins` resulted in a `readonly` result. However the executed query only selects the columns from the primary table. For example:

```ruby
Author.joins(:posts) # SELECT authors.* FROM ...
```

As far as I can tell there is no reason we need to mark these records as `readonly`.