-
I recently tried to retrofit STI on a database table that had already existed for a while. Here's a basic outline of the scenario.
1. I had a class 'Code' and a database table 'codes'.
2. 'Code' had a…
-
Unable to add the gem to a new project and then run required migration. Steps to reproduce:
1. Create a new project with rails 7.0.1 ` rails new MotorAdminDemo --css tailwind --database=postgresql…
-
### Steps to reproduce
Here is the basic setup:
I added a `type` column to the `oauth_applications` database table.
I'm using something similar to the following class setup:
```ruby
class MyC…
-
I have defined shodan api key with `export SHODAN_API_KEY=` and using
```
title: # String (required)
description: Tracking new instances of # String (required)
ignore_old_artifacts: true # Wh…
-
### Steps to reproduce
- Update rails to rails 7
- run ```rails app:update```
- run ```bin/rails db:environment:set RAILS_ENV=test --trace```
```ruby
# Your reproduction script goes here
```
…
-
roachtest.activerecord [failed](https://teamcity.cockroachdb.com/viewLog.html?buildId=3254514&tab=buildLog) with [artifacts](https://teamcity.cockroachdb.com/viewLog.html?buildId=3254514&tab=artifacts…
-
roachtest.activerecord [failed](https://teamcity.cockroachdb.com/viewLog.html?buildId=3421825&tab=buildLog) with [artifacts](https://teamcity.cockroachdb.com/viewLog.html?buildId=3421825&tab=artifacts…
-
### Question 💬
While upgrading to v4, I had to rename an Account column to "type".
In my case, this is used only to store a value "oauth".
The thing is that the column "type" is used by Rails t…
-
Is is possible to use active storage with multi databases in rails? I have the following models:
### Steps to reproduce
```
class ApplicationRecord < ActiveRecord::Base
self.abstract_class =…
-
peter-rabbit:Books roger$ bin/fetch_books.rb
/Users/roger/.rvm/gems/ruby-2.1.2/gems/curb-0.8.5/lib/curb_core.bundle: [BUG] Segmentation fault
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin11…