-
I often need to assert that an object representing a specific database row (ActiveRecord instance, for example). This falls apart when the database query is made in a place outside the control of the …
-
There seem to be a problem with how the `has_many` association is resolved when set up in this way. I'm not sure if this is a valid way to set this up, but nonetheless, something we've come across.
T…
-
**Environment Information**
```sh
$ ruby -v
jruby 9.4.6.0 (3.1.4) 2024-02-20 576fab2c51 OpenJDK 64-Bit Server VM 21.0.1 on 21.0.1 +jit [arm64-darwin]
$ uname -a
Darwin janko.local 23.4.0 Darw…
janko updated
1 month ago
-
It would be useful if the ActiveRecord adapter support workflow transitions on newly-created (unpersisted) objects. I _believe_ it would only require the `persist_workflow_state` method to check `pers…
-
I recently swapped my company's database adapter over from `mysql2` to `trilogy` and noticed that we were no longer rescuing `ActiveRecord::ReadOnlyError` exceptions because we started receiving `Acti…
-
## Issue
All the core business logic is in the `KeywordsController` controllers.
This has many consequences, for example, is it harder to write unit tests, the business logic cannot be reused for …
-
We should update the harness to collect `GC.stat(:time)` and possibly `:minor_gc_count`, `:major_gc_count`, and maybe things like `total_allocated_objects`
@tenderworks observed that at the start o…
-
Hello,
when running the example code from the README's Form Field Guide i get an ArgumentError upon reaching this block:
```
render field(:reason) do |f|
div do
f.label { "Why should we…
-
### Steps to reproduce
When calling `Model.objects.include? object` when the object has a composite primary key will raise an argument error `ArgumentError: Unsupported argument type: 1 (Integer)` in…
-
Hi there.
I have two (Rails) applications: One is using ActiveRecord, the other is not.
In the DB-backed app I have models like:
```
class Post < ActiveRecord::Base
has_many :comments
include…