-
usually i link 1:n models with its "link" method.
if i use a pivot table, i have to use on more "save" command on the related model.
i am not sure if this is a bug or a feature, but i would find it mo…
-
When trying to access a parent property for a newly created ActiveRecord, the whole server crashes without any error. It's working fine with the 2.0.44 version. I've tried with php 7.4 and 8.0, same r…
-
In the readme.md, it says first:
> association methods that build new models will not work correctly -- for example, user.addresses.new returns an address that is not associated to the user. We'll …
-
### Discussed in https://github.com/orgs/ManageIQ/discussions/22877
Originally posted by **bfilion87** February 5, 2024
Hello,
I am trying to update a service template item that we use as …
-
I have added gem to Gemfile and then installed it. All migrations have been run as well.
When I include seems_rateable in Product Model, it throws this error -
/home/ubuntu/.rvm/gems/ruby-2.1.2/gems…
-
## Steps to reproduce
I need to run a job like the one below for each tenant.
```ruby
class ReviewNotificationJob < ApplicationJob
queue_as :default
def perform(review)
Rails.logge…
-
Similar to issue #33, but I am using the default theme.
I don't have exactly the permission `Log Time`, but I do have `Log spent time`, is that the same?
![image](https://user-images.githubusercon…
-
For example, being able to optionally choose between using gpt-3.5 for something, using gpt-4-turbo for others, or between using claude-haiku for some and claude-opus for others if you want, but for t…
-
I have models:
``` ruby
class Car::Rim::Rim < ActiveRecord::Base
belongs_to :param, polymorphic: true
end
```
``` ruby
class Car::Rim::EquipParam < ActiveRecord::Base
has_one :rim, as: :param
en…
-
I am not using STI but just inheritance. It seems that `base_class` returns superclass rather than subclass.
```ruby
# app/models/car.rb
class Car < ActiveRecord::Base
belongs_to :borrowable, …