-
It's possible to "fake" a polymorphic association by using a "class" whose constructor is really a factory method for other classes. Unfortunately, this falls short when the different classes have dif…
-
Some models have a `has_many` relationship to another model, where the second one references with `belongs_to` to the first one. However, some miss the `dependent` attribute on the `has_many` associat…
-
### Description of the new feature / enhancement
Instead of the current `.txt` extension for log files, I'd like to move it to `.log`. This allows for user-defined file associations to be honored, su…
-
and I read the code, here might have an issue: (relationship.rb)
```
ef initialize(domain, associations) # @private :nodoc:
@domain = domain
@reverse_associations, @forward_associa…
-
Currently it's not possible to use the lua storage api for a system tool.
I can work around this by spinning my own prefs file, but feel a better solution would be to make the storage api work w…
-
### Steps to reproduce
```ruby
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org/"
# source "https://gems.ruby-china.com/"
gem "minitest", "~> 5.15"
gem "…
-
Looks to be an issue with eager-loading polymorphic associations on an ActiveRecordRelation. Attempting to eager-load them on an individual activerecord object works fine (not that it CAN eager-load t…
-
In our rails app, we had some code like this:
```ruby
class Account < ApplicationRecord
belongs_to :unit
validates_presence_of :number
validates_uniqueness_of :number, scope: :unit_id, …
-
I tried loading a route without {async:true} on the hasMany relation of the route's model...but I got the "uncaught Error: Assertion Failed: You looked up the 'model' relationship on 'model'..." error…
-
I am having trouble filtering a `Collection` (`PersistentCollection`) by checking if the Entities in the Collection have a association with a different Entity. Below is the example.
``` php
Class Opt…