-
Source: http://stackoverflow.com/questions/31535545/threading-error-when-using-activerecord-with-connection-do-puma , https://github.com/puma/puma/issues/758
**Summary:** When using Puma and running…
-
It's not clear from the [documentation](http://www.phpactiverecord.org/projects/main/wiki/Associations#has_many_through) whether the association you want to go `through` is on the current class, or th…
-
I've seen that sequel support was added fairly early on with https://github.com/TrestleAdmin/trestle/issues/2 and was thinking if something similar could be done with mongoid. Do you see any possible …
-
I'm in the middle of upgrading a decent sized application to Rails 5, and audited is one of the gems we love and enjoy to use a fair bit.
With one of the objects I am running into the following error…
-
`Oracle12` Arel visitor does not handle sub-queries with `LIMIT` properly and this makes locking a row impossible. While it works in normal queries, in sub-queries that doesn't seem to be the case.
…
-
I have a POST request that I'm documenting that accepts a number of parameters, including one called `images` which is an array of binary files (image files). If I was documenting a param that's an ar…
-
I'm having a strange problem: previously, the gon gem was working for me to pass an array of objects to the browser. Here's the assignment:
`gon.frames = @job.sequence.frames.sort_by(&:n)`
Previ…
-
Sentry Issue: [PLOTS2-1AN](https://sentry.io/organizations/publiclab/issues/2367666275/?referrer=github_integration)
```
ActiveJob::SerializationError: Unsupported argument type: ActiveRecord::Relati…
-
### Steps to reproduce
```ruby
class ThingsTodo < ApplicationRecord
belongs_to :task # without FK constraint
class Task < ApplicationRecord
has_many :things_todo, dependent: :dest…
-
Hi, people.
I'm upgrading my project dependencies (including rubocop, rubocop-rails, etc.), and noted a new offense warning: `Rails/RedundantPresenceValidationOnBelongsTo`.
My code:
```ruby
class …