-
I recently enabled concurrency on a system and it resulted in a lot of `ActiveRecord::ConnectionTimeoutError` errors.
I believe it's because ActiveRecord has a 1 thread = 1 connection policy and th…
-
When classes that are specified as a library in the `Steepfile` have a syntax error, the `steep check` executable hangs and requires a force quit to end the process.
Example:
Generate type definit…
-
```
list 实现一个可排序、可调整列表项位置的列表。
list
是一个双连接链表,每个元素都连接到前一个项目和后一个��
�目。
list
的优势在于增加项目、删除项目、移动项目位置时速度快(��
�需要更新前后的项
目),缺点是无法按照按照严格索引值访问特定列表项目。��
�如要访问排序位置第三
位的项目,只能从第一个项目开始向后查找。幸运的是我们��
�特定项目的ID记录下
来,以…
-
```
versioned 行为插件可以为对象提供版本控制能力。例如 wiki
的文章具备多个版本。
使用 versioned 插件后,可以在数据库中保存对象的多个版本。
生成对象的新版本时,老版本的对象会获得一个新的ID,而最
新的内容则占用现有的
ID。因此,以ID查询对象时,总是会获得最新版本的内容。
versioned 插件提供下列方法:
// 获得当前的版本号
string …
-
### Steps to reproduce
1. Set up AWS RDS to manage master passwords and rotate
2. Configure your database details via environment properties
3. Wait for your DB password to change
Once step 3 …
-
Hello,
after I upgraded rails 7 this gem has problem with access to ActiveRecord::Base.configurations as to Hash object.
https://www.fastruby.io/blog/rails/upgrades/upgrade-rails-6-1-to-7-0.html…
-
Hi,
Firstly thanks for forking the package and maintaining it.
We are running an older Rails and are able to install and use the Songkick provider, but as this package has been restricted to a newer…
maknz updated
9 years ago
-
The current version requires rgeo-activerecord 0.4.*, which does not work with AR 4.2:
```
E, [2014-12-23T09:54:57.557146 #3627] ERROR -- : undefined method `attribute_types_cached_by_default' for Ac…
fjl82 updated
7 years ago
-
I had misconfigured ActiveRecord connect pool: just enough connections for Puma but not for sucker_punch workers. Under higher load requests were failing with ActiveRecord::ConnectionTimeoutError. Unf…
wkrsz updated
9 years ago
-
Using the latest mysql workbench this gem outputs an incomplete table definition which does not include the fields which are listed using the verbose flag. Example:
C:\Users\base>amwbench -v c:\test…
ghost updated
12 years ago