-
**Describe the bug**
Modules from ActiveModel that are automagically included by Rails in classes that inherit from ApplicationRecord (which, in turn, inherits from ActiveRecord::Base) are not detect…
-
```
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release…
-
We need to add some way to differentiate between Ardiuno and Node stations.
I'm thinking of doing this as Single Table Inheritance and setting up a class tree:
```
class Station
end
# this is…
-
When trying to use `store_accessor` on models, the following is happening during encryption. This issue came up while attempting to upgrade to Rails 6.1. It is currently working on Rails 6.0.6.1 for u…
-
I have set up a User model and a Manager model with Single Table inheritance like this :
```
class User < ActiveRecord::Base
include Tenacity
t_has_many :posts, :foreign_key => "user_id"
end
```…
-
add deleted_at column, and add `acts_as_paranoid` to modal
```ruby
class User < ApplicationRecord
acts_as_taggable_array_on :tags
acts_as_paranoid
end
```
When run `User.tags_cloud`, It …
-
Hey, I'm having trouble with `good_migrations` in a migration where one of the classes has a polymorphic association. Just wondering if anyone has hit this issue before, or has any tips?
Here's a r…
-
(Environment: Ruby 3.3.4, Rails 7.1, Sorbet 0.5.11558, Tapioca 0.16.2.)
Our gem bundle includes the [`flipper`](https://github.com/flippercloud/flipper) and `flipper-active_record` gems. After upgrad…
-
## Description
Develop a new service for managing banner interactions and storing the necessary data in production. This includes setting up initial database ACTIVE RECORD for storing alert banner dat…
-
Every time I create a nested object that uses multiple table inheritance, two different rows is created for the child object.
I have a has_many relationship between my store and products object and …
sdee updated
10 years ago