-
Hi,
I've built a crud app with mootensai/yii2-enhanced-gii, there are related tables by foreign keys (n:1, n:m).
In the case I got an validation error, after pressing update a second time the ap…
-
Every since we updated activerecord-jdbc-adapter to **50.0** we are seeing JDBC error on our STDOUT.
> Mar 28, 2018 7:21:16 AM org.postgresql.Driver connect
> SEVERE: Connection error:
> org.po…
-
```
当 QDB_ActiveRecord_Meta 调用 ActiveRecord 继承类的 __define()
静态方法后,
会完成元信息对象的初始化。
初始化完成后应该调用 ActiveRecord 继承类的 __after_meta_init()
方法,并将
QDB_ActiveRecord_Meta 对象实例作为参数传入。
利用 __after_meta_init() 方法,…
-
I have a model:
``` sql
CREATE TABLE businesses (
id uuid DEFAULT uuid_generate_v4() NOT NULL,
slug character varying(255),
name character varying(255),
phone_number character varying…
litch updated
5 years ago
-
Hello,
I stumbled into another issue here which only occurs again on CI but works locally.
The gem loads the resource for the ApplicationRecord model but doesn't find a DB table associated with it…
-
```
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…
-
Picture something like this:
/app/models/location.rb:
class Location < ActiveRecord::Base
has_many :shifts
end
/app/models/shift.rb
class Shift < ActiveRecord::Base
belongs_to :location
end
…
-
If for some reasons (e.g. lost connection) the feed gets deleted from the database and the subscription is not properly removed from Superfeedr, it would be useful to catch the ActiveRecord::RecordNot…
-
I've got a query object that is applying pagination conditionally. Using ActiveRecord's [merge](http://api.rubyonrails.org/classes/ActiveRecord/SpawnMethods.html#method-i-merge) method to apply the pa…
-
Rails 7.2.1 requires that queues implement the `enqueue_after_transaction_commit?` method.
The impact of _not_ having this method and upgrading to `7.2.1` is that _all job enqueuing fails_.
Thi…