-
The import method is shadowed by activerecord-import which results in this argument error:
`ArgumentError: Invalid arguments!
from /some_local_path/activerecord-import-1.2.0/lib/activerecord-import/…
-
Just intalled gem, created a shard, configured shard.yml, successfully ran a migration against the shard using using(:shard_1) at the top of the migration, but now when sending a request to the applic…
-
Fixtures for Rails tests cannot be created if an ActiveRecord model is created on a view instead of a table and the tables primary key is an IDENTITY column.
While creating fixtures for such a mod…
-
cd /opt/forem
rails console
user = User.find(1)
user.add_role(:single_resource_admin, Space)
get error below
![image](https://github.com/user-attachments/assets/88e1209c-518d-435c-b50b-5fcf59…
-
## Context
The 7.2 release notes (https://edgeguides.rubyonrails.org/7_2_release_notes.html#active-record-deprecations) state:
> Deprecate `Rails.application.config.active_record.commit_transact…
-
\yii\db\Command has very usefull method "upsert", but ActiceRecord has no same feature.
In some situation, when additing full set of attributes in model, for example upon importing data, the typica…
-
Upgrading data_migrate to v11 is failing for me in CI
```
bin/rails aborted!
2024-09-04 15:23:07.620148 D [3748:59400] ActiveRecord::Base -- (3.8ms) CREATE TABLE "data_migrations" ("version" ch…
-
'nough said.
-
I'm getting an `ActiveRecord::DuplicateMigrationNameError` during `rake db:migrate`
My steps are:
- Add to Gemfile:
```
gem 'kaminari' # required by coupons
gem 'coupons', :git => 'https://github.c…
-
# Background
The current latest version of arproxy (v0.2.8) has the following known issues:
- Does not work correctly with ActiveRecord 7.0 and later
- #26
- CI (unit tests) passes for 7.0…